aboutsummaryrefslogtreecommitdiff
path: root/libexec/rtld-elf
Commit message (Collapse)AuthorAgeFilesLines
* MFC revs. 1.29, 1.30, a part of 1.36: the .Nm utility,Maxim Konovalov2006-05-151-5/+9
| | | | | | | | | | filesystem -> file system, move rcs id tag. PR: docs/66264 Submitted by: Michel Lavondes Notes: svn path=/stable/4/; revision=158589
* MFC revision 1.105: If dangerous environment variables are used, checkColin Percival2005-03-311-1/+24
| | | | | | | that libraries being loaded aren't on a noexec-mounted filesystem. Notes: svn path=/stable/4/; revision=144356
* MFC of revision 1.96:Oliver Eikemeier2004-06-111-1/+6
| | | | | | | give out a little more information in case of a missing dependency Notes: svn path=/stable/4/; revision=130341
* MFC: rev. 1.10 (forgotten in previous commit).Max Khon2004-02-031-1/+1
| | | | Notes: svn path=/stable/4/; revision=125404
* MFC:Max Khon2004-02-034-7/+26
| | | | | | | | | Dynamic object dependency mapping: libmap. PR: 58133 Notes: svn path=/stable/4/; revision=125402
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2004-02-031-0/+255
| | | | Notes: svn path=/stable/4/; revision=125398
* MFC rev. 1.90:Anton Berezin2003-11-251-1/+1
| | | | | | | Sync comment with code's reality. Notes: svn path=/stable/4/; revision=122985
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2003-10-011-0/+7
| | | | Notes: svn path=/stable/4/; revision=120634
* MFC: Properly remove unloaded objects from all lists.Alexander Kabaev2003-02-203-58/+307
| | | | | | | | | Implement dlinfo function. Aproved by: re (murray) Notes: svn path=/stable/4/; revision=111193
* MFC: fix a bug in RTLD_TRACE when object being traced is already dlopen'ed.Maxim Sobolev2003-02-061-6/+8
| | | | Notes: svn path=/stable/4/; revision=110450
* MFC ELF coredump handling fixes. Do not skip read-only pages unrelatedMatthew Dillon2002-12-281-6/+23
| | | | | | | | | | | | to the binary image. Use NOCORE to differentiate between the two. Introduce a debug.elf_legacy_coredump sysctl which, if set, reverts to the old behavior. See the log message in sys/kern/imgact_elf.c 1.133. PR: kern/45994 Notes: svn path=/stable/4/; revision=108355
* MFC: r1.69, support binaries with arbitrary number of PT_LOAD segmentsAlexander Kabaev2002-11-292-42/+56
| | | | Notes: svn path=/stable/4/; revision=107388
* MFC: r1.68 symbool lookup order change.Alexander Kabaev2002-11-291-12/+12
| | | | Notes: svn path=/stable/4/; revision=107385
* MFC: ld-elf.so.1 assumed a few too many things about the ordering of sectionsDavid E. O'Brien2002-09-024-71/+129
| | | | | | | | | produced by ld(8) (ie: that _DYNAMIC immediately follows the _GOT). Update ld.so to deal with the new (faster) PLT format that gcc-3.1 and binutils can produce. Notes: svn path=/stable/4/; revision=102830
* MFC 1.66: Fix OpenOffice build problems by not acquiring theJohn Polstra2002-08-131-2/+0
| | | | | | | writer lock in rtld_exit(). Notes: svn path=/stable/4/; revision=101835
* MFC: Remove nanosleep calls which caused problems for OpenOffice.John Polstra2002-07-112-17/+3
| | | | | | | | | | This is a merge of the following revisions: src/libexec/rtld-elf/alpha/lockdflt.c 1.7 src/libexec/rtld-elf/i386/lockdflt.c 1.8 Notes: svn path=/stable/4/; revision=99839
* MFC: Update the asm statements to use the "+" modifier instead ofJohn Polstra2002-07-022-8/+8
| | | | | | | | | | matching constraints where appropriate. The revisions merged are: lockdflt.c 1.7 rtld_machdep.h 1.7 Notes: svn path=/stable/4/; revision=99245
* MFC 1.16 (alpha alloca -> mmap fix)Matthew Dillon2002-06-221-5/+17
| | | | | | | | Reviewed by: obrien Approved by: jdp Notes: svn path=/stable/4/; revision=98628
* MFC 1.16: Remove maintainer line.John Polstra2002-06-221-1/+0
| | | | Notes: svn path=/stable/4/; revision=98621
* MFC 1.10 - replace alloca() with mmap() to avoid unbounded stack usage.Matthew Dillon2002-06-161-8/+20
| | | | | | | | | | | This solves problem when installing openoffice from ports and may also solve some of the instability issues with large GUI programs like Mozilla, Konq, etc (thread stacks were being overrun). Approved by: jdp Notes: svn path=/stable/4/; revision=98303
* MFC: (1.61) When searching an object on the global list, search its DAG too.Dag-Erling Smørgrav2002-04-021-3/+6
| | | | | | | PR: bin/25059 Notes: svn path=/stable/4/; revision=93703
* MFC:David Malone2002-03-041-1/+0
| | | | | | | | Change brk's prototype from char *brk(const char *) to int brk(const void *) and sbrk's prototype from char *sbrk(int) to void *sbrk(intptr_t). Notes: svn path=/stable/4/; revision=91631
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2002-02-221-0/+135
| | | | Notes: svn path=/stable/4/; revision=91044
* MFC: allow ldd(1) be used on shlibs.Maxim Sobolev2002-02-181-9/+35
| | | | Notes: svn path=/stable/4/; revision=90837
* MFC 1.56: give LD_LIBRARY_PATH higher precedence.John Polstra2002-02-111-2/+2
| | | | | | | PR: bin/28191 Notes: svn path=/stable/4/; revision=90498
* MFC: 1.27: tidy up the markup.Ruslan Ermilov2002-01-101-17/+25
| | | | | | | Approved by: re (blanket) Notes: svn path=/stable/4/; revision=89231
* MFC: Fix find_symdef() cache.Doug Rabson2001-10-171-8/+9
| | | | Notes: svn path=/stable/4/; revision=85047
* MFC: markup and misc fixes.Ruslan Ermilov2001-08-161-6/+4
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=81771
* MFC: 1.15: Use new backup feature of install(1).Ruslan Ermilov2001-08-081-14/+1
| | | | | | | Approved by: re Notes: svn path=/stable/4/; revision=81269
* MFC: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-221-2/+0
| | | | Notes: svn path=/stable/4/; revision=80140
* MFC: * Most of existing include/elf.h is in elf-hints.h.David E. O'Brien2001-07-111-1/+2
| | | | | | | | | | | elf.h is now a compatibility header with Solaris/SVR4. * Consumers of elf.h now use the minimalist elf header possible. This change is motivated by Binutils 2.11 and too much clashing over our base elf headers and the Binutils elf headers. Notes: svn path=/stable/4/; revision=79604
* MFC: Performance improvements. Includes the following revisions:John Polstra2001-05-114-14/+51
| | | | | | | | | | rtld.c 1.52 rtld.h 1.22 alpha/reloc.c 1.12 i386/reloc.c 1.7 Notes: svn path=/stable/4/; revision=76453
* MFC: MAN[1-9] -> MAN.Ruslan Ermilov2001-04-251-1/+1
| | | | Notes: svn path=/stable/4/; revision=75952
* MFC 1.50 -> 1.51: Make it possible to call dlclose from aJohn Polstra2001-01-211-2/+43
| | | | | | | destructor. Notes: svn path=/stable/4/; revision=71308
* MFC: Prepare for mdoc(7)NG.Ruslan Ermilov2001-01-161-1/+1
| | | | Notes: svn path=/stable/4/; revision=71105
* MFC: Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-201-3/+5
| | | | Notes: svn path=/stable/4/; revision=70228
* MFC: add /dev/zero and use PATH_* where possible.David E. O'Brien2000-12-111-2/+3
| | | | Notes: svn path=/stable/4/; revision=69839
* MFC 1.49 -> 1.50: Eliminate superfluous "Undefined symbol" errorJohn Polstra2000-11-081-2/+0
| | | | | | | | | message. Approved by: jkh Notes: svn path=/stable/4/; revision=68470
* MFC: Add support for dlsym(RTLD_DEFAULT, ...).John Polstra2000-09-222-69/+97
| | | | | | | | | dlfcn.h: 1.10 -> 1.11 rtld.c: 1.48 -> 1.49 rtld.h: 1.19 -> 1.20 Notes: svn path=/stable/4/; revision=66203
* MFC 1.47 -> 1.48: Pass useful info to r_debug_state(), toJohn Polstra2000-09-221-8/+18
| | | | | | | be used by debuggers and/or trace tools. Notes: svn path=/stable/4/; revision=66202
* MFC: Call init and fini functions in a proper order based on theJohn Polstra2000-07-292-106/+185
| | | | | | | | | | interdependencies of the shared libraries. Includes these revisions: rtld.c 1.47 rtld.h 1.19 Notes: svn path=/stable/4/; revision=64010
* MFC: rev 1.13 (use install(1) rather than cp)David E. O'Brien2000-07-201-1/+2
| | | | Notes: svn path=/stable/4/; revision=63640
* MFC: Block signals while holding the exclusive lock to avoid lockingJohn Polstra2000-07-182-3/+56
| | | | | | | | | | | | | | | | | | | against self. The revisions merged are: alpha/lockdflt.c: 1.5 -> 1.6 i386/lockdflt.c: 1.5 -> 1.6 I discussed this merge with the release engineer and we agreed that this particular merge would best be done as soon as possible, rather than waiting until just before the 4.1 code freeze when it couldn't receive the benefit of testing with the ports it is intended to fix. (It should fix Mozilla and other user threads based programs. And it should fail to break any linuxthreads based programs.) Approved by: jkh Notes: svn path=/stable/4/; revision=63370
* MFC: Use spinlocks + nanosleep for thread locking to make it workJohn Polstra2000-07-126-211/+229
| | | | | | | | | | | | | | | | | with all threads packages. Revamp data structures to allow non-exclusive locking in most cases. Deprecate dllockinit() and make it a do-nothing stub. Merges in the following deltas: src/libexec/rtld-elf/rtld.c 1.46 src/libexec/rtld-elf/rtld.h 1.18 src/libexec/rtld-elf/alpha/lockdflt.c 1.5 src/libexec/rtld-elf/alpha/rtld_machdep.h 1.4 src/libexec/rtld-elf/alpha/rtld_start.S 1.4 src/libexec/rtld-elf/i386/lockdflt.c 1.5 src/libexec/rtld-elf/i386/rtld_machdep.h 1.4 Notes: svn path=/stable/4/; revision=62998
* MFC 1.10 -> 1.11: Eliminate unaligned accesses while relocating.John Polstra2000-07-121-12/+27
| | | | Notes: svn path=/stable/4/; revision=62996
* MFC 1.19 -> 1.20: Fix .Po usage.John Polstra2000-07-121-1/+2
| | | | Notes: svn path=/stable/4/; revision=62994
* MFC 1.10 -> 1.11: Fix missing DPADDs and some style bugs.John Polstra2000-07-121-4/+5
| | | | Notes: svn path=/stable/4/; revision=62993
* This commit was manufactured by cvs2svn to create branch 'RELENG_4'.cvs2svn2000-07-102-0/+411
| | | | Notes: svn path=/stable/4/; revision=62923
* MFC: rev 1.12 (save previous dynamic linker)David E. O'Brien2000-07-081-0/+12
| | | | Notes: svn path=/stable/4/; revision=62818
* MFC: Cross-reference ldd(1) in rtld(1) and vice versa.Sheldon Hearn2000-03-281-0/+1
| | | | Notes: svn path=/stable/4/; revision=58723