summaryrefslogtreecommitdiff
path: root/sys/kern/exec_elf.c
AgeCommit message (Expand)Author
2023-07-12address incomplete validation of ELF program headers in execve(2) which could...Jasper Lievisse Adriaanse
2023-06-10Implement support for pointer authentication (PAC) in userland. With PACMark Kettenis
2023-04-19Add a new PT_OPENBSD_NOBTCFI "segment type" to indicate that the kernelMark Kettenis
2023-01-16Currently we disable kbind(2) for static program from libc.a'sPhilip Guenther
2023-01-13Since the signal trampoline is now execute-only we no longer write itMark Kettenis
2022-12-21fix a mangled commentTheo de Raadt
2022-12-05zap a pile of dangling tabsTheo de Raadt
2022-11-23cache ps_auxinfo inside the kernel, to avoid codedump() reading theMoritz Buhl
2022-11-14Fix tag type and buffer limit in DT_TEXTREL lookup.Visa Hankala
2022-11-05For textrel binaries, skipping immutability on text segments is not enough:Theo de Raadt
2022-10-27Unfortunately there are still ugly text-relocation binaries in the wild.Theo de Raadt
2022-10-27VMCMD_SYSCALL cannot be incorporated into flags variable, because flagsTheo de Raadt
2022-10-23A better workaround for mips64 mimmutable problem. The problem is theTheo de Raadt
2022-10-22automatic immutable for base executable is not ready on mipsTheo de Raadt
2022-10-21automatically mark immutable certain regions in program&ld.so LOADs.Theo de Raadt
2022-08-29If ld.so loading fails inside execve, uprintf a message to report thisTheo de Raadt
2022-08-14remove unneeded includes in sys/kernJonathan Gray
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