glibc/misc/sys
Siddhesh Poyarekar 61a8753010 fortify: Ensure that __glibc_fortify condition is a constant [BZ #29141]
The fix c8ee1c85 introduced a -1 check for object size without also
checking that object size is a constant.  Because of this, the tree
optimizer passes in gcc fail to fold away one of the branches in
__glibc_fortify and trips on a spurious Wstringop-overflow.  The warning
itself is incorrect and the branch does go away eventually in DCE in the
rtl passes in gcc, but the constant check is a helpful hint to simplify
code early, so add it in.

Resolves: BZ #29141
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
2022-05-16 20:10:08 +05:30
..
auxv.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
cdefs.h fortify: Ensure that __glibc_fortify condition is a constant [BZ #29141] 2022-05-16 20:10:08 +05:30
dir.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
file.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
ioctl.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
mman.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
param.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
queue.h [BZ #5779] 2008-03-05 05:50:39 +00:00
select.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
single_threaded.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
syslog.h misc: syslog: Move SYSLOG_NAME to USE_MISC (BZ #16355) 2022-04-15 10:41:54 -03:00
sysmacros.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
uio.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
xattr.h Add some missing access function attributes 2022-03-10 05:56:33 +05:30