Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-09-03 | Provide our own calloc() since we provide our own malloc(), otherwise we won't | Miod Vallat | |
be able to link against libc_pic.a anyway. | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2005-12-21 | Userland programs should include <errno.h> not <sys/errno.h> | Todd C. Miller | |
OK deraadt@ | |||
2005-09-30 | rather surprised to find a vsprintf still lying around here.. | Theo de Raadt | |
2005-09-28 | enter rtld, to install the man page at least | Theo de Raadt | |
2005-03-16 | fix a broken list; | Jason McIntyre | |
various other tweaks; ok deraadt@ | |||
2004-11-08 | Sync the weak symbol logic with the ELF ld.so, and use N_AUX() instead of | Miod Vallat | |
rolling our own version; no functional changes. ok millert@ | |||
2003-08-15 | remove extra \n in {warn,err}{,x} calls | Theo de Raadt | |
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-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-01-19 | give a second chance for loading dependent modules: | Marc Espie | |
look in the path of the main map before giving up. ok deraadt@. (This fixes a few kde issues, and removes loads of needs for ldconfig) | |||
2003-01-19 | revamp .init call code to be saner: | Marc Espie | |
- build a tree of modules inter-dependencies. - make sure dependent modules are .init'ed before depending modules. - flag initialization so that cycles don't bork ld.so. okay deraadt@, drahn@. | |||
2003-01-19 | In error message from dependent libraries, mention which dependent library | Marc Espie | |
is trying to load another library. | |||
2003-01-05 | fix for PR3053 - NULL deref when fd == NULL in first dlsym() arg | Peter Valchev | |
ok miod drahn marc | |||
2002-12-12 | don't link LIBCRT0 into ld.so (for DESTDIR builds); PR2928; ok fgsch@, millert@ | Markus Friedl | |
2002-12-11 | o Check mmap() return value against MAP_FAILED, not -1. | Todd C. Miller | |
o Prevent close() from clobbering errno. Patch from Peter Werner; closes PR 2995 | |||
2002-12-02 | KNF; openbsd@davidkrause.com | Theo de Raadt | |
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-29 | do not redefine NULL | Theo de Raadt | |
2002-09-07 | ansification of ld | Marco S Hyman | |
* normalized the signatures of the functions passed to each_file() and each_full_file(). In most cases that meant adding a void *dummy. In one case it changed an int to a void*, but the arg was only checked for zero/not-zero so the change was not significant. * removes unused code and structures. * makes sure printf args match their format. * got rid of some of the gcc -Wall warnings OK deraadt@ | |||
2002-07-27 | ask uvm to map the bss of each .so module non-executable. again, we | Theo de Raadt | |
cannot do this to the data segments until we know how big the got/plt zone is... anyone want to track that down? | |||
2002-07-19 | convert functions from K&R style to prototype style. | Marco S Hyman | |
Function arg types have not yet been fixed. OK fgs@, espie@ | |||
2002-07-17 | un-__P the code. fgs says "looks ok." | Marco S Hyman | |
2002-07-15 | space to tab cleanup. Nothing but whitespace changes in this commit. | Marco S Hyman | |
2002-07-10 | First of some clean-up commits. This one only removes use of | Marco S Hyman | |
register variables. clean-up concept ok deraadt@ | |||
2002-06-03 | use issetugid() instead of uid/gid comparisons; from drahn | Theo de Raadt | |
2002-05-11 | Add missing libraries to bsd.prog.mk (mostly kerberosV) | Marc Espie | |
Use them in DPADD throughout the tree. Fix a few mispells (LIBMATH -> LIBM...) Wipe obsolete lib (LIBRESOLV) Sort added missing libraries, move obsolete stuff apart. Synch documentation in bsd.README ok deraadt@ | |||
2002-03-07 | revert changes made in rev. 1.17; closes pr # 1903. niklas@ ok. | Federico G. Schwindt | |
2002-02-14 | From NetBSD: | Federico G. Schwindt | |
Deal with weak symbols when looking up in shared libraries; tested by marc@ miod@ and myself. | |||
2002-02-10 | spelling | Theo de Raadt | |
2001-11-08 | fixes netbsd PR #10940 and also uses main program's library search | Federico G. Schwindt | |
path in dlopen(), from netbsd as well. | |||
2001-09-06 | Use ${CC} to link ld.so, so that it will grok whatever you throw at | Marc Espie | |
it in COPTS/DEBUG. | |||
2001-06-09 | Fill some field earlier, should allow better .init/dlopen interaction. | Marc Espie | |
From NetBSD. fgsch@ agrees. | |||
2000-11-09 | case of header | Theo de Raadt | |
2000-05-25 | rename rtld(1) to ld.so(1) | Theo de Raadt | |
2000-04-27 | Call ctor/dtor lists generated by collect2 as well. | Marc Espie | |
Since those are properly protected against multiple execution, even if collect2/ld manages to link them at some point, this won't add problems. | |||
2000-04-24 | Make dlopened modules prefer symbols defined locally | Niklas Hallqvist | |
2000-02-03 | Deal with empty path element in LD_LIBRARY_PATH. | Todd C. Miller | |
o Don't try and look up an empty element in the hints file o Convert "" to "." when adding to the list of search dirs Perviously, an LD_LIBRARY_PATH that ended in ':' was ignored. | |||
2000-01-11 | Reverse order of ^lib and '/' checks since ^lib is cheaper; espie@ | Todd C. Miller | |
2000-01-11 | Fix the logic that determines whether or not a dlopen()'d name should | Todd C. Miller | |
be looked for in the libary search path. If a name has a '/' in it, treat it as a pathname, even if it starts with "lib"; gsar@ActiveState.com | |||
1999-12-10 | bad espie, commiting bad patches, with junk in them that should not be there | Theo de Raadt | |
1999-12-09 | dlopen and dlsym take const char * parameters. | Marc Espie | |
Fix prototypes, propagate const where applicable. | |||
1999-10-26 | indent | Theo de Raadt | |
1999-09-06 | succesfully -> successfully | Aaron Campbell | |
1999-05-13 | libary -> library, other misc corrections | Aaron Campbell | |
1998-08-28 | set RTLD_DL flag before refcount++ returns; michaels@inet.no | Theo de Raadt | |
1998-08-05 | setuid/setgid caveats; form | Theo de Raadt | |
1998-07-22 | add a section about LD_PRELOAD; noted as missing by form@pppvs.itam.nsc.ru | Theo de Raadt | |
1998-03-26 | RCS id cleanup | Niklas Hallqvist | |
1997-11-14 | pk: Expand on shared object's `.init' functions a bit, and mention | Theo de Raadt | |
`/usr/lib/c++rt.o'. |