summaryrefslogtreecommitdiff
path: root/sys/kern/exec_elf.c
AgeCommit message (Expand)Author
2017-11-07Store full executable path in p->p_path as discussed in tech-kern.christos
2017-10-16Setting AT_BASE on static binaries breaks TLS because they assume thatchristos
2017-10-08For static PIE set the interpreter address to be the entry offset so wechristos
2017-04-21Enhance verbosity of debug message for ELF magic mismatchkamil
2017-02-18obey the executable's ELF alignment constraints for PIE.chs
2017-02-12netbsd_elf_signature - look at note segments (phdrs) not noteuwe
2016-09-15oops removed too muchchristos
2016-09-15Add debugging.christos
2016-05-25randomize the location of the rtld.christos
2016-05-22reduce #ifdef mess caused by PaXchristos
2016-05-08Move all the randomization inside kern_pax.c so we can control it directly.christos
2016-03-19Allow enabling and disabling PaX ASLR debugchristos
2015-11-26We never exec(2) with a kernel vmspace, so do not test for that, but insteadmartin
2015-11-01Ignore the ancient 01.01 tag that gnuc used to put in old NetBSD binaries.christos
2015-11-01Add buildid Go notechristos
2015-10-22Check the error code from es_setup_stack, and correctly free ep_emul_arg ifmaxv
2015-09-26Revamp the way processes are PaX'ed in the kernel. Sent on tech-kern@ twomaxv
2015-08-08revert; but still fix the commentmaxv
2015-08-05stupid comment, and make sure we are not executing a libmaxv
2015-08-04Some changes, to reduce a bit my tech-kern@ patch:maxv
2015-07-30Revamp PaX:maxv
2015-04-27Remove #ifdef notyet.maxv
2015-03-20Zero-fill the ELF auxiliary vectors. Otherwise, on 64bit systems, themaxv
2014-08-17eliminate COMPAT_OLDNOTE and just always recognize the old notes.chs
2014-07-08Define ELF_MAXNOTESIZE, ELF_MAXSHNUM and ELF_MAXPHNUM in <sys/exec_elf.h>, somaxv
2014-07-06Check .evs_used==0 instead of .evs_cmds==NULL. evs_cmds would not be NULL ifmaxv
2014-06-25Provide a compatibility define for binaries generated before NetBSD 1.5.christos
2014-05-15be a bit more verbose about why we think a note is bad.christos
2014-03-22Small changes:maxv
2014-03-16Remove the 'prot' argument from elf_load_psection(). It is not usedmaxv
2014-03-06add ep_entryoffset to exec_package so one can calculate the relocabasematt
2014-02-27We have to ensure the string is NUL-terminated and of the expectedmaxv
2014-02-22Simplify error path.maxv
2014-02-21Properly check the section size to avoid out-of-bound reads. Themaxv
2014-02-19We need VMCMDs for a binary and its interpreter, so make sure we havemaxv
2014-02-16Small cleanup:maxv
2014-02-15initialize offset to 0 (Maxime Villard)christos
2014-02-15Remove the last argument of elf_check_header(). It is easier - and faster - tomaxv
2014-02-14Fix memory leak.maxv
2014-01-25__USING_TOPDOWN_VM is no more, __USE_TOPDOWN_VM...christos
2013-12-21Check interp after reading it. Checking newly allocated memory doesn'tskrll
2013-12-21Consistency checks for the length of the interpreter (the length includeschristos
2013-11-14As discussed on tech-kern: make TOPDOWN-VM runtime selectable per processmartin
2013-11-11Remove dead codemartin
2013-11-05Define a new NetBSD specific note to encode the code model used for a binary.martin
2013-10-30Preserve NetBSD version from the ABI tag for compat use.joerg
2013-09-10Support an optional MARCH ELF tag.matt
2013-08-26Fix a comment and a few minor optimizations:martin
2013-04-09Fix PAX build.skrll
2013-04-08Remove some set but unused variablesskrll