Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-06-22 | Dynamic linking random order fixes. This enables random library ordering. | Dale Rahn | |
Tested by naddy@ and others. | |||
2003-06-11 | no more register | Theo de Raadt | |
2003-06-09 | pefo 3/4 licence cleanups | Theo de Raadt | |
2003-06-03 | Disable random library ordering, this seems to be exposing bugs in other code. | Dale Rahn | |
2003-06-03 | three four gone. | Artur Grabowski | |
2003-06-03 | kill clause 3 and 4 from several of my copyrights, cleanup. | Dale Rahn | |
2003-06-03 | license cleaning. | Artur Grabowski | |
2003-06-02 | nuke clause 3 & 4 | Jason Wright | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-06-02 | - section reorder | Jason McIntyre | |
- put whitespace before punctuation in macro | |||
2003-05-30 | Move env setup to its own function, works around compiler problem on sparc | Dale Rahn | |
LD_NORANDOM is now disabled on issetugid(). | |||
2003-05-30 | knf | Theo de Raadt | |
2003-05-30 | Unbreak tree for sparc, zapping ld_norandom strangely has a bad affect, | Dale Rahn | |
killing ld.so. | |||
2003-05-30 | Fix botch in tag array indexing. deal with 0 - DT_NUM, | Dale Rahn | |
DT_LOPROC - DT_LOPROC+DT_PROCNUM, and no other values. | |||
2003-05-30 | zap LD_NORANDOM on issetugid() binaries. | Dale Rahn | |
2003-05-30 | When loading a shared object or libraries dependant object, load them | Dale 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-05-08 | Previously, ld.so would use a single page for mapping the hints file | Todd C. Miller | |
and then, if that was not big enough, map the rest of it contiguously. However, there is no guarantee that the address space after the first mmap has not already been used by something else. Instead, just fstat the file and map up to st_size. Also reorganized the code a tad and added some sanity checks for st_size. Problem tracked down by dhartmei@ and mickey@; drahn@ OK. | |||
2003-04-28 | thread safe dlxxx func (for elf) part 2. This requires the latest | Marco S Hyman | |
ldfcn.h in /usr/include. "looks nice" tedu@ | |||
2003-04-28 | Change mquery() function call signature to be the same a mmap(). It | Dale Rahn | |
needs the prot/flags info and passing the addresses via arg/return allows it to be traced via ktrace better than an in/out paramter. This adds a new mquery syscall and renames the old one to omquery. New kernel _MUST_ be built, booted, and 'make includes' before building ld.so with this change. | |||
2003-04-25 | backout mquery change, something broke when not combined with a different diff. | Dale Rahn | |
2003-04-25 | change mquery() function call signature to be the same a mmap(). It | Dale Rahn | |
needs the prot/flags info and passing the addresses via arg/return allows it to be traced via ktrace better than an in/out paramter. This adds a new mquery syscall and renames the old one to omquery. New kernel _MUST_ be built and installed before building ld.so with this change. ok millert@ tedu@ | |||
2003-04-22 | sync up ELF and a.out versions of ldconfig(8) | David Krause | |
ok drahn@ mdoc ok jmc@ | |||
2003-04-21 | Fix the load_size which is used by ldd to print end address. | Dale Rahn | |
2003-04-18 | Adjusting the start is wrong. The value returned by mquery() should be used | Dale Rahn | |
here. Fixes a bug with emacs21. tested by marc@ and others. | |||
2003-04-17 | mquery support, currently for i386 only. | Dale Rahn | |
2003-03-10 | typo | David Krause | |
ok drahn@ | |||
2003-03-07 | Fix cut and paste on wrong line bugs, now like other versions. ok miod@ | Dale Rahn | |
2003-03-06 | .Xr typos; | Jason McIntyre | |
ok deraadt@ | |||
2003-02-26 | Initialized the ABI stated 'cleanup' parameter to _start. This parameter | Dale Rahn | |
is not used, but is now initialized to a valid value. | |||
2003-02-15 | After relocation is completed, remove write protection from GOT/PLT in ld.so. | Dale Rahn | |
2003-02-15 | Paranoia about mprotect, mprotect page aligned regions for got and plt. | Dale Rahn | |
2003-02-15 | Do not call mprotect to enable writing for sections which normally are | Dale Rahn | |
writable. Idea taken from alpha version. Saves many mprotect syscalls. | |||
2003-02-02 | knf & ansi; drahn ok | Theo de Raadt | |
2003-01-31 | The version of open in ld.so, _dl_open(), will return -errno instead of -1. | Dale Rahn | |
This is to avoid corrupting 'errno'. Handle this case in _dl_opendir(). This is also the case for _dl_fcntl(). ok deraadt@ | |||
2003-01-30 | Only flush the got address, if there is one. DOH. | Dale Rahn | |
2003-01-30 | Change the constructor execution order to initialize dependant libraries | Dale Rahn | |
first. This mirrors the commit espie put in a.out ld.so recently. | |||
2003-01-24 | Flush the blrl instruction from the instruction cache if the GOT tag is | Dale Rahn | |
present. Fixes illegal instruction problems seen the last few days tested by myself and matthieu@ | |||
2003-01-17 | Change the GOT initialization so that it is done in a function which | Dale Rahn | |
initialized just the correct addresses instead of assuming that the GOT extends from _GLOBAL_OFFSET_TABLE_ to _DYNAMIC. Mostly from NetBSD. ok nate@ | |||
2003-01-16 | whitespace removal. | Dale Rahn | |
2002-12-18 | Remove pointless 'if 0' code. | Dale Rahn | |
2002-12-18 | Prepare for an upcoming ELF executable change. This will allow ld.so to | Dale Rahn | |
protect the GOT and PLT sections of the executable from being overwritten. This behavior is enabled by changes in the executable/shared object layout, and does not occur without the ld changes. | |||
2002-12-13 | Compare to ELFMAG byte by byte rather than using full fledged function. | Dale Rahn | |
Also avoids a gas problem for the moment. | |||
2002-12-09 | Build ld.so as a normal shared object, not with special linkage. | Dale Rahn | |
mprotect the necessary bit to make this work right. ok deraadt@ | |||
2002-12-02 | KNF; openbsd@davidkrause.com | Theo de Raadt | |
2002-12-02 | typo; ok miod@ | Christian Weisgerber | |
2002-12-02 | Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stack | Miod 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-11-23 | After fixing these comments, I add another incorrect one. | Dale Rahn | |
2002-11-23 | Implement [u]mul/[u]div/[u]rem with faster version if available | Dale Rahn | |
on machine. Improves speed for dynamic userland processes when active. Idea from Theo. ok deraadt@ | |||
2002-11-23 | clean up comments. | Dale Rahn | |
2002-11-23 | Put in a required item. Should not have been deleted to start with. | Dale Rahn | |