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
configure.ac
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
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
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