summaryrefslogtreecommitdiffstats
path: root/libexec
AgeCommit message (Expand)AuthorFilesLines
2016-08-31Don't attempt to support IPv4-mapped IPv6 addresses.jca1-37/+5
2016-08-31alpha and sh have TCB_SET() macros so don't need _dl_set_tcb()guenther4-8/+4
2016-08-30remove ifdef for all the features we have.tedu1-16/+1
2016-08-30Move DT_NUM from <sys/exec_elf.h> to resolv.h in ld.so where it belongs.kettenis1-1/+4
2016-08-28ld.so doesn't need gettimeofday or lstat stubs any moreguenther22-110/+22
2016-08-28fix a commentguenther1-2/+2
2016-08-28Don't call lstat() before readlink() just to see if it's a symlink,guenther1-17/+21
2016-08-27Delete debugging from when lazy binding was being implementedguenther1-2/+1
2016-08-27Pull in <stddef.h> for NULLguenther1-1/+2
2016-08-27Pull in <sys/time.h> for struct timespecguenther1-1/+2
2016-08-26Pull in <sys/time.h> for gettimeofday()guenther1-1/+2
2016-08-26trim down some NBBY references. 8 bits ought to be enough for anyone.tedu2-9/+5
2016-08-23Implement support for DT_INIT_ARRAY, DT_FINI_ARRAY and DT_PREINIT_ARRAY.kettenis3-25/+76
2016-08-22This code served us well for many years,schwarze10-1203/+0
2016-08-16fread hasn't taken a char * in about 900 yearstedu1-12/+12
2016-08-16remove unneeded caststedu3-7/+6
2016-08-15Drop -z nocombreloc. It was a rev 1.1 commit like on arm, so not clearguenther1-2/+1
2016-08-14When upcasting to off_t for multiplication, the cast needs to be *before*guenther1-4/+4
2016-08-14Convert %q to %ll with long long casts for printf()guenther2-26/+26
2016-08-14Drop -z nocombreloc. That's a rev 1.1 commit so not clear why it was neededguenther1-2/+1
2016-08-14Mark the relro/got section as read-only before setting up the environmentguenther1-3/+3
2016-08-13Passing in &_DYNAMIC appears to have stuck, so eliminate the extraguenther1-5/+2
2016-08-12the slimmed down random functions inside ld.so are strict clones of thederaadt6-17/+17
2016-08-09Teach arm to pass &_DYNAMIC to _dl_boot_bind(); can optimize later in treeguenther2-11/+11
2016-08-08Look for a PT_GNU_RELRO section per object and, if present, mprotect thatguenther5-50/+100
2016-08-07As with csu, alpha passes &_DYNAMIC to _reloc_alpha_got(), so justguenther2-6/+5
2016-08-07Teach i386 to pass &_DYNAMIC to _dl_boot_bind()guenther2-4/+5
2016-08-07Teach mips64 to pass &_DYNAMIC to _dl_boot_bind()guenther2-3/+5
2016-08-07hahahah: amd64 has been passing &_DYNAMIC to _dl_boot_bind() forguenther1-2/+2
2016-08-07Flip the #ifdef logic: amd64, arm, i386, and mips64 are the only archsguenther1-5/+4
2016-08-05use a larger chunk for getentropy() and save some for next time.tedu1-5/+25
2016-08-01zap unused varjca1-2/+1
2016-07-18Polish:guenther1-47/+15
2016-07-18Updated advice^Wcode from miod@ for passing &_DYNAMIC to _dl_boot_bindguenther1-4/+5
2016-07-15Switch m88k to pass &_DYNAMIC to _dl_boot_bind()guenther2-5/+3
2016-07-13Adjust existing tls_config_set_cipher() callers for TLS cipher groupjsing1-2/+2
2016-07-04Remove prebind support: binding to symbol table indices is too fragileguenther21-863/+20
2016-07-04Nuke prebind support; it's unworkable and we're never going to finish it.kettenis10-3291/+8
2016-07-04The GOT has been initally mapped RW for *years*; ld.so doesn't need toguenther1-15/+1
2016-07-04Use fstatat() instead of crafting a filename to use with stat()guenther1-14/+16
2016-06-21When handling DT_TEXTREL only set the mapping to READ+WRITE, ignorederaadt8-16/+16
2016-06-21Handle textrels like other architectures do.deraadt1-1/+22
2016-06-18Make mips64 like all the others: only make mappings writable during relocationguenther1-13/+13
2016-06-13Only need to sync the icache on the GOT for the old BSS PLT formatguenther1-2/+2
2016-06-08Some ELF ABIs still require a PLT that is both writable and executable. Tokettenis2-6/+27
2016-06-05Avoid W^X violation when setting DT_DEBUG on mips64.kettenis1-2/+2
2016-05-26for textrels (sthen ran into one...):deraadt1-2/+2
2016-05-22Ignore the listed protection (which may contain X) when making pagederaadt1-2/+2
2016-05-21mul/div/rem replacement should happen without PROT_EXECderaadt1-7/+7
2016-05-21Temporarily make the PLT writable when we're initializing the magic slotskettenis1-1/+5