diff options
author | 2016-12-26 10:08:41 +0100 | |
---|---|---|
committer | 2016-12-26 10:08:41 +0100 | |
commit | de6591238b478bc86b8cf5af01a484114e399213 (patch) | |
tree | 2717c115fbc7518fcbe9348239ff536eb914d267 /sysdeps/unix/sysv/linux/generic/inotify_init.c | |
parent | Initialize the stack guard earlier when linking statically [BZ #7065] (diff) | |
download | glibc-de6591238b478bc86b8cf5af01a484114e399213.tar.xz glibc-de6591238b478bc86b8cf5af01a484114e399213.zip |
Do not stack-protect ifunc resolvers [BZ #7065]
When dynamically linking, ifunc resolvers are called before TLS is
initialized, so they cannot be safely stack-protected.
We avoid disabling stack-protection on large numbers of files by
using __attribute__ ((__optimize__ ("-fno-stack-protector")))
to turn it off just for the resolvers themselves. (We provide
the attribute even when statically linking, because we will later
use it elsewhere too.)
Diffstat (limited to 'sysdeps/unix/sysv/linux/generic/inotify_init.c')
0 files changed, 0 insertions, 0 deletions