glibc/debug
Ulrich Drepper d6cd6bf4de * misc/sys/cdefs.h (__warndecl, __errordecl): For GCC 4.3+ define
with __warning__/__error__ attributes.
	(__warnattr): Define.
	* stdlib/bits/stdlib.h (__realpath_chk_warn, __ptsname_r_chk_warn,
	__mbstowcs_chk_warn, __wcstombs_chk_warn): New aliases with
	__warnattr.
	(realpath, ptsname_r, mbstowcs, wcstombs): Call __*_chk_warn instead
	of __*_chk if compile time detectable overflow is found.
	* libio/bits/stdio2.h (__fgets_chk_warn, __fread_chk_warn,
	__fgets_unlocked_chk_warn, __fread_unlocked_chk_warn): New aliases
	with __warnattr.
	(fgets, fread, fgets_unlocked, fread_unlocked): Call __*_chk_warn
	instead of __*_chk if compile time detectable overflow is found.
	(__gets_alias): Rename to...
	(__gets_warn): ... this.  Add __warnattr.
	(gets): Call __gets_warn instead of __gets_alias.
	* socket/bits/socket2.h (__recv_chk_warn, __recvfrom_chk_warn): New
	aliases with __warnattr.
	(recv, recvfrom): Call __*_chk_warn instead of __*_chk if compile
	time detectable overflow is found.
	* posix/bits/unistd.h (__read_chk_warn, __pread_chk_warn,
	__pread64_chk_warn, __readlink_chk_warn, __readlinkat_chk_warn,
	__getcwd_chk_warn, __confstr_chk_warn, __getgroups_chk_warn,
	__ttyname_r_chk_warn, __getlogin_r_chk_warn, __gethostname_chk_warn,
	__getdomainname_chk_warn): New aliases with __warnattr.
	(read, pread, pread64, readlink, readlinkat, getcwd, confstr,
	getgroups, ttyname_r, getlogin_r, gethostname, getdomainname): Call
	__*_chk_warn instead of __*_chk if compile time detectable overflow
	is found.
	(__getgroups_chk): Rename argument to __listlen from listlen.
	(__getwd_alias): Rename to...
	(__getwd_warn): ... this.  Add __warnattr.
	(getwd): Call __getwd_warn instead of __getwd_alias.
	* wcsmbs/bits/wchar2.h (__wmemcpy_chk_warn, __wmemmove_chk_warn,
	__wmempcpy_chk_warn, __wmemset_chk_warn, __wcsncpy_chk_warn,
	__wcpncpy_chk_warn, __fgetws_chk_warn, __fgetws_unlocked_chk_warn,
	__mbsrtowcs_chk_warn, __wcsrtombs_chk_warn, __mbsnrtowcs_chk_warn,
	__wcsnrtombs_chk_warn): New aliases with __warnattr.
	(wmemcpy, wmemmove, wmempcpy, wmemset, mbsrtowcs, wcsrtombs,
	mbsnrtowcs, wcsnrtombs): Call __*_chk_warn instead of __*_chk if
	compile time detectable overflow is found.
	(wcsncpy, wcpncpy): Likewise.  For constant __n fix check whether
	to use __*_chk or not.
	(fgetws, fgetws_unlocked): Divide __bos by sizeof (wchar_t), both
	in comparisons which function should be called and in __*_chk*
	arguments.  Call __*_chk_warn instead of __*_chk if compile time
	detectable overflow is found.
	(swprintf, vswprintf): Divide __bos by sizeof (wchar_t) in
	__*_chk argument.
	* debug/tst-chk1.c (do_test): Add a few more tests.
2007-09-26 20:45:18 +00:00
..
backtrace-tst.c
backtrace.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
backtracesyms.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
backtracesymsfd.c 2005-12-13 Ulrich Drepper <drepper@redhat.com> 2005-12-14 08:43:25 +00:00
catchsegv.sh . 2007-07-31 13:33:18 +00:00
chk_fail.c * Makerules (sysd-rules): Define PTW for ptw-* files. 2007-05-24 23:55:28 +00:00
confstr_chk.c * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID 2005-07-18 21:07:28 +00:00
Depend * stdlib/bits/stdlib.h: New file. 2005-07-13 06:09:58 +00:00
execinfo.h Change backtrace+symbols_fd comment. 2005-10-31 15:25:14 +00:00
fgets_chk.c * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory 2005-02-21 23:14:10 +00:00
fgets_u_chk.c * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory 2005-02-21 23:14:10 +00:00
fgetws_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
fgetws_u_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
fortify_fail.c * rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7. 2007-09-15 22:35:27 +00:00
fprintf_chk.c * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. 2007-07-19 17:12:59 +00:00
fread_chk.c Debug version of fread. 2007-08-28 20:31:26 +00:00
fread_u_chk.c * libio/bits/stdio2.h (__fread_chk, __fread_unlocked_chk): New 2007-08-28 20:33:49 +00:00
fwprintf_chk.c * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. 2007-07-19 17:12:59 +00:00
getcwd_chk.c (__getcwd_chk): Always fail if the buffer is too small. 2005-03-01 00:42:41 +00:00
getdomainname_chk.c * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID 2005-07-18 21:07:28 +00:00
getgroups_chk.c * wcsmbs/bits/wchar2.h (swprintf): Remove format argument. 2005-07-21 16:23:54 +00:00
gethostname_chk.c * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID 2005-07-18 21:07:28 +00:00
getlogin_r_chk.c * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID 2005-07-18 21:07:28 +00:00
gets_chk.c
getwd_chk.c * sysdeps/unix/sysv/linux/libc_fatal.c: Print backtrace and memory 2005-02-21 23:14:10 +00:00
Makefile * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+. 2007-09-15 02:38:04 +00:00
mbsnrtowcs_chk.c * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by 2005-08-22 15:13:39 +00:00
mbsrtowcs_chk.c * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by 2005-08-22 15:13:39 +00:00
mbstowcs_chk.c * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by 2005-08-22 15:13:39 +00:00
memcpy_chk.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
memmove_chk.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
mempcpy_chk.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
memset_chk.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
noophooks.c
pcprofile.c
pcprofiledump.c [BZ #4925] 2007-08-21 14:56:27 +00:00
pread64_chk.c * debug/pread64_chk.c: Use __libc_pread64 instead of __pread64. 2005-06-14 15:55:44 +00:00
pread_chk.c [BZ #779] 2005-03-19 00:28:51 +00:00
printf_chk.c * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. 2007-07-19 17:12:59 +00:00
ptsname_r_chk.c * stdlib/bits/stdlib.h: New file. 2005-07-13 06:09:58 +00:00
read_chk.c * debug/read_chk.c (__read_chk): Always fail if the buffer is too 2005-03-01 01:20:39 +00:00
readlink_chk.c * debug/read_chk.c (__read_chk): Always fail if the buffer is too 2005-03-01 01:20:39 +00:00
readlinkat_chk.c * posix/bits/unistd.h (__readlinkat_chk): New prototype. 2006-04-24 17:01:40 +00:00
readonly-area.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
realpath_chk.c * stdlib/bits/stdlib.h: New file. 2005-07-13 06:09:58 +00:00
recv_chk.c * debug/recv_chk.c (__recv_chk): Always fail if request could 2005-03-06 21:25:22 +00:00
recvfrom_chk.c * debug/recv_chk.c (__recv_chk): Always fail if request could 2005-03-06 21:25:22 +00:00
segfault.c [BZ #4582] 2007-08-22 07:04:23 +00:00
snprintf_chk.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
sprintf_chk.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
stack_chk_fail_local.c * Versions.def (ld): Add GLIBC_2.4. 2005-06-26 18:14:26 +00:00
stack_chk_fail.c * Makerules (sysd-rules): Define PTW for ptw-* files. 2007-05-24 23:55:28 +00:00
stpcpy_chk.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
stpncpy_chk.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
strcat_chk.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
strcpy_chk.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
strncat_chk.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
strncpy_chk.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
swprintf_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
test-stpcpy_chk.c
test-strcpy_chk.c * nss/nsswitch.c (__nss_lookup_function): Don't cast &ni->known to 2007-07-28 20:36:21 +00:00
tst-chk1.c * misc/sys/cdefs.h (__warndecl, __errordecl): For GCC 4.3+ define 2007-09-26 20:45:18 +00:00
tst-chk2.c
tst-chk3.c
tst-chk4.cc * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+. 2007-09-15 02:38:04 +00:00
tst-chk5.cc * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+. 2007-09-15 02:38:04 +00:00
tst-chk6.cc * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+. 2007-09-15 02:38:04 +00:00
tst-lfschk1.c * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t 2005-03-20 16:51:05 +00:00
tst-lfschk2.c * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t 2005-03-20 16:51:05 +00:00
tst-lfschk3.c * posix/bits/unistd.h (pread) [__USE_FILE_OFFSET64]: Use __off64_t 2005-03-20 16:51:05 +00:00
tst-lfschk4.cc * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+. 2007-09-15 02:38:04 +00:00
tst-lfschk5.cc * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+. 2007-09-15 02:38:04 +00:00
tst-lfschk6.cc * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+. 2007-09-15 02:38:04 +00:00
ttyname_r_chk.c * nscd/grpcache.c (cache_addgr): Use correct maximum for group ID 2005-07-18 21:07:28 +00:00
Versions * rt/Versions (librt): Export __mq_open_2@@GLIBC_2.7. 2007-09-15 22:35:27 +00:00
vfprintf_chk.c * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. 2007-07-19 17:12:59 +00:00
vfwprintf_chk.c * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. 2007-07-19 17:12:59 +00:00
vprintf_chk.c * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. 2007-07-19 17:12:59 +00:00
vsnprintf_chk.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
vsprintf_chk.c * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
vswprintf_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
vwprintf_chk.c * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. 2007-07-19 17:12:59 +00:00
warning-nop.c (__builtin___memcpy_chk): Define away to 2005-03-28 07:09:47 +00:00
wcpcpy_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wcpncpy_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wcrtomb_chk.c * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs, 2005-07-20 07:43:27 +00:00
wcscat_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wcscpy_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wcsncat_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wcsncpy_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wcsnrtombs_chk.c * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs, 2005-07-20 07:43:27 +00:00
wcsrtombs_chk.c * wcsmbs/bits/wchar2.h: Add definitions for wcrtomb, mbsrtowcs, 2005-07-20 07:43:27 +00:00
wcstombs_chk.c * stdlib/bits/stdlib.h (mbstowcs): Divide __bos (__dst) by 2005-08-22 15:13:39 +00:00
wctomb_chk.c * stdlib/bits/stdlib.h: New file. 2005-07-13 06:09:58 +00:00
wmemcpy_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wmemmove_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wmempcpy_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wmemset_chk.c * wcsmbs/bits/wchar2.h: New file. 2005-07-15 10:32:45 +00:00
wprintf_chk.c * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct): New function. 2007-07-19 17:12:59 +00:00
xtrace.sh [BZ #3348] 2007-02-17 08:36:28 +00:00