Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-08-04 | document LD_NORANDOM; input and ok from several ppl. | Federico G. Schwindt | |
2003-07-28 | The fifth argument to _dl_find_symbol is a 'int size', not a SYM_ define. | Dale Rahn | |
Fix several calls which had the incorrect but working define in that position It happened that SYM_NOTPLT was 0, which was the desired size value. | |||
2003-07-18 | Fix print if minor of library used is is less than requested. ok tdeval@ | Dale Rahn | |
2003-07-10 | add missing includes | David Krause | |
ok deraadt@ tedu@ | |||
2003-07-09 | changes to ld.so to be compatible with newer binutils, requires | Dale Rahn | |
slight changes in the startup code on most archs. ok art@ brad@ | |||
2003-07-09 | - simplify some macros | Jason McIntyre | |
- fix a list ok drahn@ | |||
2003-07-06 | various proto, ansi, and knf repair. tested on all architectures that | Theo de Raadt | |
use it. (build may require make cleandir because of .depend balony) | |||
2003-07-02 | Correct library search algorithm, wrt versioned objects | Niklas Hallqvist | |
2003-06-27 | put it in section 1 | Theo de Raadt | |
2003-06-26 | Manpage for ELF ld.so, derived from a.out version, not yet complete | Dale Rahn | |
also points out missing features in the ELF ld.so. | |||
2003-06-26 | simple protos | Theo de Raadt | |
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 | |