[PATCH] Use fortify macros for b{zero,copy} along decl from strings.h
Florian Weimer
fweimer@redhat.com
Thu Jan 5 20:01:00 GMT 2017
On 01/05/2017 01:37 PM, Adhemerval Zanella wrote:
> To fix this behavior, the patch moved the bzero, bcopy, and
> __explicit_bzero_chk to a common header (string/bits/strings_fortified.h)
> and explicit fortified inclusion macros similar to string.h is added
> on strings.h. This allows to get fortified declarions by only including
> strings.h.
Does this add explicit_bzero to <strings.h>? I'm not sure we want that.
Certainly not if this only happens with _FORTIFY_SOURCE.
Thanks,
Florian
More information about the Libc-alpha
mailing list