summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/stack_protector.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ARGSUSED where neededderaadt2006-03-311-1/+2
|
* Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a timeotto2005-11-301-10/+5
| | | | | | | and remove fallback code. If somebody is dumb enough to make the sysctl fail using systrace, he deserves what he gets. Saves 7 syscalls on process startup. looks good miod@ ok deraadt@ tedu@
* zap remaining rcsid.espie2005-08-081-5/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* lint says unsigned...deraadt2004-09-141-4/+6
|
* Directly invoke the sysctl system call, rather than going through the sysctl(3)miod2003-10-011-3/+5
| | | | | | wrapper. ok deraadt@ millert@
* add missing includesdavid2003-07-181-2/+5
| | | | ok tedu@
* in the handler, block signals handlers as soon as possible; ok miod millertderaadt2003-03-031-3/+9
|
* bug fixetoh2002-12-101-3/+3
|
* KNFderaadt2002-12-021-6/+6
|
* Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackmiod2002-12-021-0/+87
attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.