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
..
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-04-09 20:36:24 +00:00
2002-08-27 06:41:29 +00:00
2002-07-24 11:18:48 +00:00
2006-08-14 22:16:14 +00:00
2002-08-27 12:10:11 +00:00
2002-08-26 08:08:50 +00:00
2002-08-26 08:08:50 +00:00
2003-09-06 09:56:14 +00:00
2004-11-09 07:05:27 +00:00
2004-12-06 22:33:26 +00:00
2002-04-03 09:26:58 +00:00
2002-04-24 21:09:14 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2002-07-06 06:36:39 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2006-01-15 17:45:20 +00:00
2006-01-15 17:46:04 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2006-01-15 17:45:20 +00:00
2003-08-29 19:58:49 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2005-09-26 16:56:27 +00:00
2002-08-04 20:54:20 +00:00
2003-08-29 19:58:49 +00:00
2005-09-27 00:00:42 +00:00
2005-09-27 00:00:42 +00:00
2005-09-27 00:00:42 +00:00
2005-09-27 00:00:42 +00:00
2002-01-07 09:33:53 +00:00
2005-09-23 16:36:09 +00:00
2002-08-04 20:54:20 +00:00
2003-08-29 19:58:49 +00:00
2002-08-04 20:54:20 +00:00
2003-08-29 19:58:49 +00:00
2002-08-04 20:54:20 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2002-08-04 20:54:20 +00:00
2003-08-29 19:58:49 +00:00
2005-10-14 06:25:55 +00:00
2005-09-27 00:00:42 +00:00
2003-08-29 19:58:49 +00:00
2005-12-30 18:09:21 +00:00
2004-11-27 19:32:49 +00:00
2002-02-26 01:45:59 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2004-12-06 22:48:11 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2006-01-15 17:46:04 +00:00
2001-07-06 04:58:11 +00:00
2005-12-14 15:06:39 +00:00
2006-12-13 23:17:54 +00:00
2006-08-14 22:16:14 +00:00
2004-03-10 09:29:17 +00:00
2004-03-10 09:29:17 +00:00
2004-03-10 09:29:17 +00:00
2004-03-10 09:29:17 +00:00
2004-09-14 04:41:35 +00:00
2004-03-10 09:29:17 +00:00
2004-09-14 04:41:35 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2003-02-05 18:06:28 +00:00
2003-08-29 19:58:49 +00:00
2001-07-06 04:58:11 +00:00
2003-08-29 19:58:49 +00:00
2003-08-29 19:58:49 +00:00
2002-02-26 01:45:59 +00:00
2002-02-26 01:45:59 +00:00
.
2007-07-31 13:33:18 +00:00
2005-07-15 10:32:45 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2001-07-06 04:58:11 +00:00
2000-06-23 06:22:36 +00:00
2001-07-06 04:58:11 +00:00
2002-09-30 07:47:16 +00:00
2001-02-09 17:57:28 +00:00
2000-07-20 08:56:12 +00:00
2000-06-17 19:22:43 +00:00
2001-02-09 17:57:28 +00:00
1999-06-16 22:55:47 +00:00
2002-09-05 10:28:51 +00:00
2002-07-23 00:31:41 +00:00
2001-03-27 00:16:51 +00:00
2002-09-30 07:47:16 +00:00
2006-01-19 01:35:28 +00:00
2001-07-27 18:09:56 +00:00
2002-08-25 08:44:43 +00:00
2006-12-13 23:17:54 +00:00
2001-08-22 18:40:06 +00:00
2002-02-26 18:08:08 +00:00
2001-08-17 04:49:12 +00:00
2000-07-25 21:09:46 +00:00
2006-08-14 22:16:14 +00:00
.
2007-07-31 13:33:18 +00:00
2006-12-13 23:17:54 +00:00
2006-01-15 17:45:20 +00:00
2006-12-13 23:17:54 +00:00
2006-12-13 23:17:54 +00:00