summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
AgeCommit message (Expand)Author
2021-03-16handle theoretical case of sigfillsz not being pow2-sized on someTheo de Raadt
2021-03-12Kill SINGLE_PTRACE and use SINGLE_SUSPEND which has almost the same semanticMartin Pieuchot
2021-03-08Revert commitid: AZrsCSWEYDm7XWuv;Claudio Jeker
2021-03-08Kill SINGLE_PTRACE and use SINGLE_SUSPEND which has almost the same semantic.Martin Pieuchot
2020-10-15_exit(2), execve(2): tweak per-process interval timer cancellationcheloha
2020-10-15_exit(2), execve(2): cancel per-process interval timers safelycheloha
2020-07-11timekeep_sz now already includes the round_page() adjustment; ok kettenis@Christian Weisgerber
2020-07-07small typoTheo de Raadt
2020-07-06Wire down the timekeep page. If we don't do this, the pagedaemon mayMark Kettenis
2020-07-06Add support for timeconting in userland.Paul Irofti
2020-02-15Consistently perform atomic writes to the ps_flags field of structanton
2019-12-11Replace p_xstat with ps_xexit and ps_xsigPhilip Guenther
2019-12-01comply with POSIX and make execve() return EACCES for directoriesChristian Weisgerber
2019-11-29Repurpose the "syscalls must be on a writeable page" mechanism toTheo de Raadt
2019-11-05Kill uvm_deallocate(9) and use uvm_unmap() directly.Martin Pieuchot
2019-08-02per-process itimers: itimerval -> itimerspeccheloha
2019-07-15Do not relock fdp in fdrelease(). This prevents unnecessary lockingVisa Hankala
2019-06-21Make resource limit access MP-safe. So far, the copy-on-write sharingVisa Hankala
2019-06-01Revert to using the SCHED_LOCK() to protect time accounting.Martin Pieuchot
2019-05-31Use a per-process mutex to protect time accounting instead of SCHED_LOCK().Martin Pieuchot
2019-02-08Fix stack info leak in execve(2). There are 2x4 bytes of paddingAlexander Bluhm
2018-10-30If we execute a #!shell binary, the shell is an integral part of theTheo de Raadt
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-13Unveiling unveil(2).Bob Beck
2018-06-18Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-06-05Revert introduction of fdinsert(), a sanitify check triggers whenMartin Pieuchot
2018-06-02Put file descriptors on shared data structures when they are completelyMartin Pieuchot
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
2018-04-27Move FREF() inside fd_getfile().Martin Pieuchot
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2018-01-01free(9) sizes for sys_execve.Florian Obser
2017-12-19Remove unused ps_stackgap from process structStefan Kempf
2017-12-12pledge()'s 2nd argument becomes char *execpromises, which becomes theTheo de Raadt
2017-08-29Remove old deactivated pledge path code. A replacement mechanism isTheo de Raadt
2017-04-13Provide mips64 with kernel-facing TCB_{GET,SET} macros that store itPhilip Guenther
2017-02-11Add a flags argument to falloc() that lets it optionally set thePhilip Guenther
2017-02-08Delete the obsolete fork/exec/exit emulation hooks.Philip Guenther
2017-01-21p_comm is the process's command and isn't per thread, so move it fromPhilip Guenther
2016-10-22Delete dead copy of pr->ps_vmspace; uvmspace_exec() can change it anywayPhilip Guenther
2016-09-03Reset PS_WXNEEDED in execve(2).Jeremie Courreges-Anglas
2016-06-11Cleanup some systrace leftovers.Mark 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-23Place a cpu-dependent trap/illegal instruction over the remainder of theTheo de Raadt
2016-05-10SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookieTheo de Raadt
2016-04-25boom goes the dynamiteTed Unangst
2016-03-19Remove the unused flags argument from VOP_UNLOCK().natano
2016-03-06No more compat emulations, so remove ktrace EMUL records and the baggagePhilip Guenther