glibc/misc/sys
Siddhesh Poyarekar bf9688e623 cdefs: Drop access attribute for _FORTIFY_SOURCE=3 (BZ #31383)
When passed a pointer to a zero-sized struct, the access attribute
without the third argument misleads -Wstringop-overflow diagnostics to
think that a function is writing 1 byte into the zero-sized structs.
The attribute doesn't add that much value in this context, so drop it
completely for _FORTIFY_SOURCE=3.

Resolves: BZ #31383
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2024-02-28 08:35:10 -05:00
..
auxv.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
cdefs.h cdefs: Drop access attribute for _FORTIFY_SOURCE=3 (BZ #31383) 2024-02-28 08:35:10 -05:00
dir.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
file.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ioctl.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mman.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
param.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
queue.h [BZ #5779] 2008-03-05 05:50:39 +00:00
select.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
single_threaded.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
syslog.h Apply asm redirections in syslog.h before first use [BZ #27087] 2022-11-29 15:07:22 -03:00
sysmacros.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
uio.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
xattr.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00