summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/ssp.c
AgeCommit message (Collapse)Author
2005-11-04Make use of newly introduced attribute_noreturnPeter S. Mazinger
2005-10-27Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed ↵Peter S. Mazinger
to _dl_setup_stack_chk_guard, as in glibc. SSP requires now binutils-2.16.1 and newer. Add NOT_IN_libc/IS_IN_libc. Began using -DSHARED in uClibc_main.c, there are more candidates in there. Move back dl_protect_relro to it's earlier place.
2005-10-01Add gcc-4.1 non-TLS __stack_chk_guard support. Run the guard setup only once.Peter S. Mazinger
2005-09-23Changed ssp.c license to LGPL and added vapier as contributorPeter S. Mazinger
2005-09-23New ssp code using syscalls where possible.Peter S. Mazinger
Moved guard_setup to __uClibc_main.c, the only place where it is called. Removed SIGKILL option, not usable with sigaction.
2005-06-07move tv def back with gettimeofday() funcMike Frysinger
2005-05-27touchup defines so that we can use same ssp.c in both glibc and uclibcMike Frysinger
2005-05-27- keep gcc-4.x happyNed Ludd
2005-05-27style updatesMike Frysinger
2005-03-12- added externs to keep gcc quiet about implicit declaration of 3 functionsNed Ludd
2005-02-08- 2/NN patches for ssp. Updates from Peter S. Mazinger and Robert ConnollyNed Ludd
2005-02-08- 1/NN patches for sspNed Ludd
2005-01-11dont bother including sysctl.h unless we need itMike Frysinger
2004-11-25update : $Ned Ludd
2004-11-11misc cleanups of __stack_smash_handler() function when ssp support is ↵Ned Ludd
enabled. syslog() support should now work both inside and outside of chroots. erandom code left in but remains #ifdef out by default. May remove erandom completely in the future for uClibc unless the LFS guys and gals want to keep it.
2004-11-11misc cleanups of __stack_smash_handler() function when ssp support is ↵Ned Ludd
enabled. syslog() support should now work both inside and outside of chroots. erandom code left in but remains #ifdef out by default. May remove erandom completely in the future for uClibc unless the LFS guys and gals want to keep it.
2004-01-21Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen
-Erik
2004-01-02Peter S. Mazinger writes:Eric Andersen
Hello Erik! I have made some cosmetical changes to the files, removed the added SCRT=-fPIC option from building the crt0.S file (but it is a requirement to build them with -fPIC), and changed some comments. I have left the ldso.c patch with PIE_SUPPORT ifdefs, but consider applying it w/o them (see some earlier comment from PaX Team on this issue, as it is considered a bug). To have it work correctly, you'll also need removing COMPLETELY_PIC. One thing is missing: PIE_SUPPORT should be usable only for i386 (for now). Also added the support for propolice protection (that works for me and catches memcpy/strcpy attacks (but needs a special gcc version). Thanks, Peter