summaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
AgeCommit message (Expand)Author
2019-10-21Move `p_estcpu' to the region copied during fork & kill scheduler_fork_hook().Martin Pieuchot
2019-10-15Reduce the number of places where `p_priority' and `p_stat' are set.Martin Pieuchot
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-05-31Rename struct plimit field p_refcnt to pl_refcnt to avoid confusionVisa Hankala
2019-01-06Fix unsafe use of ptsignal() in mi_switch().Visa Hankala
2018-11-12Add a mechanism for managing asynchronous IO signal registrations.Visa Hankala
2018-08-30Split the system-wide list of all futexes into process-specific listsVisa Hankala
2018-08-25Change kcov semantics, kernel code coverage tracing is now enabled on a peranton
2018-07-20Correctly copy across unveil's from parent to child process on fork().Bob Beck
2018-07-13Unveiling unveil(2).Bob Beck
2018-06-17Move kqueue related fields from struct filedesc to struct kqueue. Solves a panicanton
2017-12-30Delete unnecessary <sys/file.h> includesPhilip Guenther
2017-12-12pledge()'s 2nd argument becomes char *execpromises, which becomes theTheo de Raadt
2017-09-27guenther sleep-commited the version without #ifdefsTheo de Raadt
2017-09-27amd64 needs FS.base values (the TCB pointer) to be validated, as noncanonicalPhilip Guenther
2017-08-29Remove old deactivated pledge path code. A replacement mechanism isTheo de Raadt
2017-04-20Add a port of witness(4) lock validation tool from FreeBSD.Visa Hankala
2017-04-13Provide mips64 with kernel-facing TCB_{GET,SET} macros that store itPhilip Guenther
2017-02-12Split up fork1():Philip Guenther
2017-02-08Delete the obsolete fork/exec/exit emulation hooks.Philip Guenther
2017-01-24Rename pfind(9) into tfind(9) to reflect that it deals with threads.Martin Pieuchot
2016-11-07Split PID from TID, giving processes a PID unrelated to the TID of theirPhilip Guenther
2016-10-22Adjust allocpid() to take into account lastpidPhilip Guenther
2016-10-15Process groups can't be removed if a zombie process is in them, soPhilip Guenther
2016-09-03Inherit PS_WXNEEDED in forked processes.Jeremie Courreges-Anglas
2016-08-31proc_trampoline_mp hasn't needed curproc since 2011Tom Cosgrove
2016-04-25remove systrace remnantsTed Unangst
2016-04-25boom goes the dynamiteTed Unangst
2016-03-11increase size of oldpids to 128 to prevent mod bias when idx wraps.Ted Unangst
2015-10-09Rename tame() to pledge(). This fairly interface has evolved to be moreTheo de Raadt
2015-09-11Only include <sys/tame.h> in the .c files that need itPhilip Guenther
2015-08-22Move to tame(int flags, char *paths[]) API/ABI.Theo de Raadt
2015-07-19tame(2) is a subsystem which restricts programs into a "reduced featureTheo de Raadt
2015-03-14add sys/atomic.h back for membar_* needed for at least armv7Jonathan Gray
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-10Factor out the common bits of process_new() and main()'s code forPhilip Guenther
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-11-03include sys/unistd.h where needed instead of indirect reliance. ok jsgTed Unangst
2014-11-03pass size argument to free()Theo de Raadt
2014-09-08Delete procfs; it's always had races and is now unused: no one noticed forPhilip Guenther
2014-07-13KERNEL_ASSERT_LOCKED(9): Assertion for kernel lock (Rev. 3)Masao Uebayashi
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-11Use membar_producer() to force visibility instead of misusingPhilip Guenther
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-07-07fork1: FORK_THREAD requires FORK_SHAREFILESMatthew Dempsky
2014-07-04Track whether a process is a zombie or not yet fully built via flagsPhilip Guenther
2014-05-15Move from struct proc to process the reference-count-holding pointersPhilip Guenther
2014-05-06Include <sys/vmmeter.h> directly instead of relying on it beingMartin Pieuchot