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
backtracesyms.c
backtracesymsfd.c
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
Depend
execinfo.h
fgets_chk.c
fgets_u_chk.c
fgetws_chk.c
fgetws_u_chk.c
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
getdomainname_chk.c
getgroups_chk.c
gethostname_chk.c
getlogin_r_chk.c
gets_chk.c
getwd_chk.c
Makefile * misc/sys/cdefs.h (__va_arg_pack): Define for GCC 4.3+. 2007-09-15 02:38:04 +00:00
mbsnrtowcs_chk.c
mbsrtowcs_chk.c
mbstowcs_chk.c
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
pread_chk.c
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
read_chk.c
readlink_chk.c
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
recv_chk.c
recvfrom_chk.c
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
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
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
tst-lfschk2.c
tst-lfschk3.c
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
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
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
wcpcpy_chk.c
wcpncpy_chk.c
wcrtomb_chk.c
wcscat_chk.c
wcscpy_chk.c
wcsncat_chk.c
wcsncpy_chk.c
wcsnrtombs_chk.c
wcsrtombs_chk.c
wcstombs_chk.c
wctomb_chk.c
wmemcpy_chk.c
wmemmove_chk.c
wmempcpy_chk.c
wmemset_chk.c
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