summaryrefslogtreecommitdiff
path: root/sys/kern/exec_elf.c
AgeCommit message (Expand)Author
2022-05-12During coredumps only a single thread should be active, check thisClaudio Jeker
2021-12-09We only have one syscall table: inline sysent/SYS_MAXSYSCALL andPhilip Guenther
2021-12-07Delete the last emulation callbacks: we're Just ELF, so declarePhilip Guenther
2021-12-07Continue to delete emulation support: we only have one sigcode andPhilip Guenther
2021-12-07Continue to delete emulation support: since we're Just ELF, the sizePhilip Guenther
2021-12-06Start to delete emulation support: since we're Just ELF, makePhilip Guenther
2021-03-10spellingJonathan Gray
2021-03-08Remove the workaround which identified Go executables, and permitted themTheo de Raadt
2021-02-08Revert the convertion of per-process thread into a SMR_TAILQ.Martin Pieuchot
2021-01-17Cache parent's pid as `ps_ppid' and use it instead of `ps_pptr->ps_pid'.mvs
2020-12-07Convert the per-process thread list into a SMR_TAILQ.Martin Pieuchot
2020-07-06Add support for timeconting in userland.Paul Irofti
2020-01-25The ELF NOTE parser would only inspect the first NOTE for 'OpenBSD'.Theo de Raadt
2019-12-09typoTheo de Raadt
2019-11-29Repurpose the "syscalls must be on a writeable page" mechanism toTheo de Raadt
2019-05-13When killing a process, the signal is handled by any thread thatAlexander Bluhm
2019-05-11wxneeded binaries on wxallowed filesystems were refused execution. We haveTheo de Raadt
2019-05-09If mallocing the array program header fails, give up on coredumpingPhilip Guenther
2019-04-20#define ELFROUNDSIZE 4 /* XXX Should it be sizeof(Elf_Word)? */Theo de Raadt
2018-12-06Core files with >65535 sections have to use PN_XNUM and a section headerPhilip Guenther
2018-08-05Decouple unveil from the pledge flags, by adding dedicated unveil flagsBob Beck
2018-07-20Remove a few leftovers from the days of emulation, which could result inTheo de Raadt
2018-07-20Fail if a PT_LOAD segment has a memory size of 0. This prevents a panicMark Kettenis
2018-07-10Move from sendsig() to its callers the initsiginfo() calls andPhilip Guenther
2017-12-30Don't pull in <sys/file.h> just to get fcntl.hPhilip Guenther
2017-09-07In elf_load_file() to not call free(9) with an uninitialized sizeAlexander Bluhm
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