summaryrefslogtreecommitdiff
path: root/libexec/ld.so/library_mquery.c
AgeCommit message (Expand)Author
2024-04-05ld.so should stop calling msyscall(2), since it is fully neutered andTheo de Raadt
2024-01-17very ugly whitespacesTheo de Raadt
2024-01-16Read PT_OPENBSD_SYSCALLS in libc.so, and convert it to a table forTheo de Raadt
2023-12-19whitespacesTheo de Raadt
2023-08-15Skip the _dl_msyscall() invocation if tracing library loading.Philip Guenther
2023-07-12validate alignment of ELF program headersJasper Lievisse Adriaanse
2023-01-29Accumulate intermediate imutables locally before applyingGreg Steuck
2022-12-04The next step for mimmutable(). ld.so figures out what regions of memoryTheo de Raadt
2022-11-07dtors were broken by trying to reuse DF_1_NODELETE to hint that thisTheo de Raadt
2022-08-20Support RTLD_NOLOAD in ld.so. From guenther@. OK jca@ guenther@Stuart Henderson
2022-01-08Prep .c files for removing the #includes from */archdep.hPhilip Guenther
2021-03-16On i386 don't attempt to map shared libraries in low memory whenKurt Miller
2019-12-09When loading a library, mmap(2) may fail. Then everything getsAlexander Bluhm
2019-12-09print addresses upon msyscall failure, for nowTheo de Raadt
2019-11-30Sigh, fix i386 msyscall() case to permission the correct address range.Theo de Raadt
2019-11-29Repurpose the "syscalls must be on a writeable page" mechanism toTheo de Raadt
2019-10-04Convert the child_list member from a linked list to a vector.Philip Guenther
2019-01-25On i386, ensure that the first PT_LOAD segment is below the W^XKurt Miller
2017-12-08Everyone knows this as ld.so, nor by the ancient name rtld.Theo de Raadt
2017-01-24On fatal errors, kill ourselves with thrkill(0,9,NULL) instead ofPhilip Guenther
2016-08-12the slimmed down random functions inside ld.so are strict clones of theTheo de Raadt
2016-08-08Look for a PT_GNU_RELRO section per object and, if present, mprotect thatPhilip Guenther
2016-07-04Remove prebind support: binding to symbol table indices is too fragilePhilip Guenther
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
2016-03-20Export environ and __progname, making the latter a copy of just the filenamePhilip Guenther
2015-12-22assign pointers to NULL rather than 0mmcc
2015-11-06Fix unloading of load groups when the last reference wasn't on thePhilip Guenther
2015-01-22delete annoying white space that annoyTheo de Raadt
2015-01-16<sys/param.h> to <limits.h> conversion. Verified binariesTheo de Raadt
2014-07-10check all memory allocations; ok miod@ guenther@Otto Moerbeek
2014-07-09Use O_CLOEXEC to make sure fork+exec in a threaded process can'tPhilip Guenther
2014-06-21Move to a non-zeroing _dl_malloc, a _dl_calloc and _dl_reallocarry andOtto Moerbeek
2012-08-20Add support for .openbsd.randomdata sections and PT_OPENBSD_RANDOMIZEMatthew Dempsky
2012-07-21Add a new mmap(2) flag __MAP_NOREMAP for use with MAP_FIXED toMatthew Dempsky
2012-06-12Fix loaded object sod matching: when we load libfoo.so.X.Y intoMatthew Dempsky
2012-05-08Refuse to load ELF objects that contain a PT_TLS program header.Joel Sing
2012-01-09Don't mmap 0 byte areas, treat them as a noop instead.Ariane van der Steldt
2011-11-28Add support for getting some flags from DT_FLAGS_1: new flagsPhilip Guenthe
2010-11-16Fix error message when ld.so ends up loading a different than expectedDale Rahn
2010-10-25Search loaded libs first and add support for SONAME matching. ok drahn@Kurt Miller
2008-10-02Fix mmap() error checking to be correct 64-bit addresses. ConsistentlyKurt Miller
2008-05-05Constantly fill in the program header pointer and count in elf_object_tKurt Miller
2006-05-10pretty this up; ok drahnTheo de Raadt
2006-05-03prebind - how to prelink a binary without throwing security out the windowDale Rahn
2005-11-09add RTLD_NOW support to dlopen and propogate -z now to dep libs.Kurt Miller
2005-10-12Split grpsym_list creation away from child_list creation and changeKurt Miller
2005-10-09introduce object ref count macros (suggested by dale). no functionalKurt Miller
2005-10-06separate load group references from dep lib child/dload lists. move loadKurt Miller
2005-10-03refcount corrections: count common dep libs once and centralize dep libKurt Miller
2005-10-01handle references to load groups caused by dlopen()ing of depenantDale Rahn