glibc/misc
Nick Alcock 10c85e76c0 Disable stack protector in early static initialization [BZ #7065]
The startup code in csu/, and the brk and sbrk functions are
needed very early in initialization of a statically-linked program,
before the stack guard is initialized; TLS initialization also uses
memcpy, which cannot overrun its own stack.  Mark all of these as
-fno-stack-protector.

We also finally introduce @libc_cv_ssp@ and @no_stack_protector@, both
substituted by the configury changes made earlier, to detect the case
when -fno-stack-protector is supported by the compiler, and
unconditionally pass it in when this is the case, whether or not
--enable-stack-protector is passed to configure.  (This means that
it'll even work when the compiler's been hacked to pass
-fstack-protector by default, unless the hackage is so broken that
it does so in a way that is impossible to override.)
2016-12-26 10:08:45 +01:00
..
bits
sys Refactor long double information into bits/long-double.h. 2016-12-14 18:27:56 +00:00
acct.c
ar.h
brk.c
bug18240.c
bug-hsearch1.c
chflags.c
chroot.c
daemon.c
dirname.c
efgcvt_r.c
efgcvt.c
err.c
err.h
error.c
error.h
fchflags.c
fdatasync.c
fgetxattr.c
flistxattr.c
fremovexattr.c
fsetxattr.c
fstab.c
fstab.h
fsync.c
ftruncate64.c
ftruncate.c
futimes.c
futimesat.c
getauxval.c hurd: Fix unused variable warning 2016-10-10 22:45:18 +02:00
getclktck.c
getdomain.c
getdtsz.c
gethostid.c
gethostname.c
getloadavg.c
getpagesize.c
getpass.c
getsysstats.c
getttyent.c
getusershell.c
getxattr.c
gtty.c
hsearch_r.c
hsearch.c
ifunc-impl-list.c
init-misc.c
insremque.c
ioctl.c
lgetxattr.c
libgen.h
listxattr.c
llistxattr.c
lremovexattr.c
lsearch.c
lsetxattr.c
lutimes.c
madvise.c
makedev.c Minimize sysdeps code involved in defining major/minor/makedev. 2016-08-03 15:23:04 -04:00
Makefile Disable stack protector in early static initialization [BZ #7065] 2016-12-26 10:08:45 +01:00
mincore.c
mkdtemp.c
mkostemp64.c
mkostemp.c Fix multiple definitions of mk[o]stemp[s]64 2016-11-22 13:51:19 +01:00
mkostemps64.c
mkostemps.c Fix multiple definitions of mk[o]stemp[s]64 2016-11-22 13:51:19 +01:00
mkstemp64.c
mkstemp.c Fix multiple definitions of mk[o]stemp[s]64 2016-11-22 13:51:19 +01:00
mkstemps64.c
mkstemps.c Fix multiple definitions of mk[o]stemp[s]64 2016-11-22 13:51:19 +01:00
mktemp.c
mlock.c
mlockall.c
mmap64.c
mmap.c
mntent_r.c
mntent.c
mntent.h
mprotect.c
msync.c
munlock.c
munlockall.c
munmap.c
preadv64.c
preadv.c
pselect.c
ptrace.c
pwritev64.c
pwritev.c
qefgcvt_r.c
qefgcvt.c
readv.c
reboot.c
regexp.c
regexp.h
remap_file_pages.c
removexattr.c
revoke.c
sbrk.c
search.h
select.c
setdomain.c
setegid.c
seteuid.c
sethostid.c
sethostname.c
setregid.c
setreuid.c
setxattr.c
sgtty.h
sstk.c
stab.h
stty.c
swapoff.c
swapon.c
sync.c
syncfs.c
syscall.c
syscall.h
sysexits.h
syslog.c
syslog.h
truncate64.c
truncate.c
tsearch.c Reduce memory size of tsearch red-black tree. 2016-08-25 23:48:05 +02:00
tst-atomic-long.c Move all tests out of the csu subdirectory 2016-12-21 11:52:19 +01:00
tst-atomic.c Move all tests out of the csu subdirectory 2016-12-21 11:52:19 +01:00
tst-dirname.c
tst-efgcvt.c
tst-empty.c Move all tests out of the csu subdirectory 2016-12-21 11:52:19 +01:00
tst-error1.c
tst-fdset.c
tst-hsearch.c
tst-insremque.c
tst-makedev.c Minimize sysdeps code involved in defining major/minor/makedev. 2016-08-03 15:23:04 -04:00
tst-mntent2.c
tst-mntent-blank-corrupt.c
tst-mntent-blank-passno.c
tst-mntent.c
tst-preadvwritev64.c Fix LO_HI_LONG definition 2016-07-08 15:41:21 -03:00
tst-preadvwritev-common.c Fix LO_HI_LONG definition 2016-07-08 15:41:21 -03:00
tst-preadvwritev.c Fix LO_HI_LONG definition 2016-07-08 15:41:21 -03:00
tst-pselect.c
tst-tsearch.c
ttyent.h
ttyslot.c
ualarm.c
usleep.c
ustat.c
ustat.h
utimes.c
Versions Minimize sysdeps code involved in defining major/minor/makedev. 2016-08-03 15:23:04 -04:00
vhangup.c
writev.c