summaryrefslogtreecommitdiff
path: root/libexec/ld.so/util.c
AgeCommit message (Collapse)Author
2004-06-14Make _dl_malloc() deal with allocations > 4096 correctly. Also placeTodd C. Miller
unused memory chunks on the free list when making a large allocation. OK drahn@ deraadt@
2004-02-25Fix this assumed sizeof(long) == 4 error. Would very occasionally causeDale Rahn
the code to attempt to zero 4 bytes of the next page.
2003-07-06various proto, ansi, and knf repair. tested on all architectures thatTheo de Raadt
use it. (build may require make cleandir because of .depend balony)
2003-06-09pefo 3/4 licence cleanupsTheo de Raadt
2003-05-30When loading a shared object or libraries dependant object, load themDale Rahn
in random order. This will reduce the possiblity of a buffer overflow being able to predict the addresss of useful code. Can be disabled with the LD_NORANDOM environment variable for debugging purposes. ok deraadt.
2003-02-02knf & ansi; drahn okTheo de Raadt
2002-12-02KNF; openbsd@davidkrause.comTheo de Raadt
2002-12-02typo; ok miod@Christian Weisgerber
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
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.
2002-07-24ok i found itTheo de Raadt
2002-07-24back out broken stuff until it is fixedTheo de Raadt
2002-07-24make more _dl_*() func params like real ones in libcTheo de Raadt
2002-07-07typos/grammar/better wordsJan-Uwe Finck
in comments.
2002-05-28more KNFTheo de Raadt
2002-05-24Change _dl_strcpy() to _dl_strlcpy(), implementation taken from libc.Dale Rahn
2002-05-24various KNFTheo de Raadt
2002-04-09Add the Copyrights from the respective files the code came from. ok deraadt@Dale Rahn
2002-02-21cleanup of MD/MI ld.so (elf), most changes by art@ cleanup by me.Dale Rahn
tested on alpha sparc64 powerpc.