summaryrefslogtreecommitdiff
path: root/sys/kern/exec_elf.c
AgeCommit message (Expand)Author
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
2013-01-15Slice & dice coredump write requests into MAXPHYS blocks, andTheo de Raadt
2012-09-17Recognize executables tagged with ELFOSABI_OPENBSD (such as generatedMatthew Dempsky
2012-09-11Remove the 'OLF method' used for the transition from a.out to ELF andTheo de Raadt
2012-08-20Add support for .openbsd.randomdata sections and PT_OPENBSD_RANDOMIZEMatthew Dempsky
2012-03-09New vmmap implementation.Ariane van der Steldt
2011-07-05Recommit the reverted sigacts change now that the NFS use-after-freePhilip Guenthe
2011-07-04remove compat_svr4 support. ok deraadtTed Unangst
2011-06-06Backout vmmap in order to repair virtual address selection algorithmsAriane van der Steldt
2011-05-24Reimplement uvm/uvm_map.Ariane van der Steldt
2011-04-18Revert the sigacts diff: NFS can apparently retain pointers to processesPhilip Guenthe
2011-04-15Correct the sharing of the signal handling state: stuff that shouldPhilip Guenthe
2011-04-05Push COMPAT_FREEBSD in front of a whale. Buggy, out of date, noPhilip Guenthe
2010-12-15add a BRKSIZ define and use it for the heap gap constant, decouplingTed Unangst