diff options
author | Florian Weimer <fweimer@redhat.com> | 2012-11-29 08:18:13 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-29 08:18:13 -0800 |
commit | 111db5b197b27d87c6db903a132d288949984d51 (patch) | |
tree | 2e76348ab87682440991a9dd71673570b8771006 /debug/test-strcpy_chk.c | |
parent | ebdcf039792918514e8b8ae193d6ff16e9820650 (diff) | |
download | glibc-111db5b197b27d87c6db903a132d288949984d51.tar.gz glibc-111db5b197b27d87c6db903a132d288949984d51.tar.xz glibc-111db5b197b27d87c6db903a132d288949984d51.zip |
Mention that __chk_fail is a public ABI in test-strcpy_chk.c
* debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
Diffstat (limited to 'debug/test-strcpy_chk.c')
-rw-r--r-- | debug/test-strcpy_chk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debug/test-strcpy_chk.c b/debug/test-strcpy_chk.c index fb9bc78d45..41eb354fa0 100644 --- a/debug/test-strcpy_chk.c +++ b/debug/test-strcpy_chk.c @@ -23,6 +23,9 @@ # define TEST_NAME "strcpy_chk" # include "../string/test-string.h" +/* This test case implicitly tests the availability of the __chk_fail + symbol, which is part of the public ABI and may be used + externally. */ extern void __attribute__ ((noreturn)) __chk_fail (void); char *simple_strcpy_chk (char *, const char *, size_t); extern char *normal_strcpy (char *, const char *, size_t) |