summaryrefslogtreecommitdiff
path: root/sys/kern/exec_elf.c
AgeCommit message (Expand)Author
2017-03-20Initialize the stack buffer used to build the auxiliary vector to zero toMark Kettenis
2017-03-05Generating a coredump requires walking the map twice; changePhilip Guenther
2017-02-11Correct the entry point and base address calculations for anPhilip Guenther
2017-02-08Remove support for forcing the ELF interpreter to a specific address,Philip Guenther
2017-02-08In exec_elf.c: expand ELFNAME(), ELFNAME2(), and ELFNAMEEND() exceptPhilip Guenther
2017-02-08Move ELF_AUX_ENTRIES from exec_elf.h to exec_elf.c; it's totally internalPhilip Guenther
2017-02-08Change ELFNAME(read_from)'s buf parameter to be void*, eliminating a castPhilip Guenther
2017-02-08elf{32,64}_check_brand() isn't used; delete itPhilip Guenther
2017-02-08Provide size-generic ELF_NO_ADDR in <sys/exec_elf.h> and use that insteadPhilip Guenther
2017-02-05Since we expect to never do binary compat with other OSes again,Philip Guenther
2017-01-21p_comm is the process's command and isn't per thread, so move it fromPhilip Guenther
2016-11-07Split PID from TID, giving processes a PID unrelated to the TID of theirPhilip Guenther
2016-10-05Display/test/use the process PID, not the thread's TID, in a few places.Philip Guenther
2016-09-12When trying to run an ELF binary marked PT_OPENBSD_WXNEEDED from aIngo Schwarze
2016-06-11Since epp->ep_name is a userland pointer, use copyinstr(9) to get a copy okMark Kettenis
2016-06-08Enforce W^X and map W|X segments without X permission initially. TheMark Kettenis
2016-05-30Identify W^X labelled binaries at execve() time based upon WX_OPENBSD_WXNEEDEDTheo de Raadt
2016-05-30backout to insert correct commit messageTheo de Raadt
2016-05-30*** empty log message ***Theo de Raadt
2016-05-10SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookieTheo de Raadt
2016-02-28Support for running Linux binaries under emulation is going away.Christian Weisgerber
2015-11-02move the pledgenote annotation from `struct proc' to `struct nameidata'Sebastien Marie
2015-10-28Paranoa: p_pledgenote the NAMEI for ld.so loadingTheo de Raadt
2015-09-28Track size of an opaque allocation to pass to free() laterTheo de Raadt
2015-04-30Now we use p_filesz - 1 to test for NUL check that p_filesz isJonathan Gray
2015-04-30Error out if the PT_INTERP segment isn't NUL terminatedPhilip Guenther
2015-04-26Require a PT_LOAD segment's p_filesz to be no larger than its p_memsz.Philip Guenther
2015-03-30Extend uvm_map_hint() to get an address range as extra arguments, and makeMiod Vallat
2015-02-10Don't use an uninitialized variable when a PT_LOAD segment withPhilip Guenther
2015-02-06Raise ELF_RANDOMIZE_LIMIT to 64K, so that programs and libraries canTheo de Raadt
2015-01-27Require EFT shared objects have a PT_PHDR entry to be consideredKurt Miller
2015-01-20Move ps_strings "after" the random stackgap. This makes its location aMark Kettenis
2014-12-22Make it possible to execute PIE binaries that don't have an PT_INTERP segmentMark Kettenis
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
2014-11-14prefer sizeof(*ptr) to sizeof(struct) for malloc and freeTed Unangst
2014-11-06printf debugging worked! figured out the bug (in free()) just afterTed Unangst
2014-11-06Make better use of the value of psectionslen instead of recomputingTodd C. Miller
2014-11-06resort to printf debugging hints until we can figure this out. ok deraadtTed Unangst
2014-11-03pass size argument to free()Theo de Raadt
2014-07-13use mallocarray for multiplied value checkingTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-03-26Move p_emul and p_sigcode from proc to process.Philip Guenther
2014-03-22Move p_sigacts from struct proc to struct process.Philip Guenther
2014-01-21bzero -> memsetTed Unangst
2013-07-04now that free(null) is safe, delete checksTed Unangst
2013-06-02Coredumping is now single-threaded, so update comment about lockingPhilip Guenther
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt