summaryrefslogtreecommitdiff
path: root/sys/kern/exec_elf.c
AgeCommit message (Expand)Author
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
2010-09-17don't forget to free program header sections when writingMike Belopuhov
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
2010-07-24struct emul's e_arglen member is expected to count in units ofPhilip Guenthe
2010-06-29Eliminate RTHREADS kernel option in favor of a sysctl. The actual statusTed Unangst
2010-05-02Use intermediate vaddr_t cast when casting a pointer to off_t. PreventsMark Kettenis
2010-01-14fix typos in comments, no code changes;Ingo Schwarze
2009-11-19Dell's SVR4 apparently mapped page zero to the executable. We don'tPhilip Guenthe
2009-06-06We need miod's no-coredumps-on-ramdisks diff, because we have grown theTheo de Raadt
2009-03-08If a session leader exists s_leader is set to NULL, so don't dereference itMark Kettenis
2009-03-05Make ELF platforms generate ELF core dumps. Somewhat based on code fromMark Kettenis
2008-11-10vm_map_lock() around calls to uvm_map_findspace(); ok teduTheo de Raadt