glibc/sysdeps/gnu
Martin Sebor 7532837d7b The -Wstringop-truncation option new in GCC 8 detects common misuses
of the strncat and strncpy function that may result in truncating
the copied string before the terminating NUL.  To avoid false positive
warnings for correct code that intentionally creates sequences of
characters that aren't guaranteed to be NUL-terminated, arrays that
are intended to store such sequences should be decorated with a new
nonstring attribute.  This change add this attribute to Glibc and
uses it to suppress such false positives.

ChangeLog:
	* misc/sys/cdefs.h (__attribute_nonstring__): New macro.
	* sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
	* sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
2017-11-15 17:39:59 -07:00
..
bits The -Wstringop-truncation option new in GCC 8 detects common misuses 2017-11-15 17:39:59 -07:00
net Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
netinet Update netinet/tcp.h from Linux 4.13. 2017-09-07 14:29:38 +00:00
sys Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
configure Rename localedir to complocaledir (bug 14259). 2015-11-27 10:22:38 -05:00
configure.ac Refactor handling of /lib64 etc. cases, move out of sysdeps/gnu/configure.ac. 2014-07-17 14:35:48 +00:00
errlist-compat.awk Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
errlist.awk manual: Convert errno @comments to new @errno macro. 2017-05-19 22:47:53 -07:00
errlist.c Regenerate sysdeps/gnu/errlist.c. 2017-06-04 15:27:14 -04:00
getutmp.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getutmpx.c Update 1999-05-13 19:55:50 +00:00
glob64.c posix: Sync glob with gnulib [BZ #1062] 2017-09-08 09:39:13 +02:00
globfree64.c posix: Sync glob with gnulib [BZ #1062] 2017-09-08 09:39:13 +02:00
ifaddrs.c hurd: Fix getifaddrs' and freeifaddrs' symbol exposition 2017-09-28 01:05:18 +02:00
ldsodefs.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
rt-unwind-resume.c Move unwind-resume code from NPTL to sysdeps/gnu. 2010-04-05 20:07:39 -07:00
siglist.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
unwind-resume.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
updwtmp.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
utmp_file.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
utmpx.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00