summaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
AgeCommit message (Expand)Author
2022-11-02Clean up more ancient history: since 2015 the libc stubs forPhilip Guenther
2022-08-14remove unneeded includes in sys/kernJonathan Gray
2022-07-23kernel: remove global "randompid" toggleScott Soule Cheloha
2022-05-13Use the process ps_mtx to protect the process sigacts structure.Claudio Jeker
2022-03-17Use the refcnt API with struct ucred.Visa Hankala
2021-12-10Revert "kbind(2): disable system call if not initialized beforePhilip Guenther
2021-12-05kbind(2): disable system call if not initialized before first __tfork(2)Scott Soule Cheloha
2021-06-19timeout(9): change argument order for timeout_set_kclock()cheloha
2021-03-23Make a child execute fork_return() only if PTRACE_FORK has been specified.Martin Pieuchot
2021-02-15Move single_thread_set() out of KERNEL_LOCK().Martin Pieuchot
2021-02-11"proc: table is full" actually means thread table is full; ok mpi@ sthen@Otto Moerbeek
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-12-04Prevent a TOCTOU race in single_thread_set() by extending the scope of the lock.Martin Pieuchot
2020-12-02Revert previous extension of the SCHED_LOCK(), the state isn't passed down.Martin Pieuchot
2020-12-02Prevent a TOCTOU race in single_thread_set() by extending the scope of the lock.Martin Pieuchot
2020-10-25setitimer(2): ITIMER_REAL: use kclock timeoutscheloha
2020-03-20Use atomic operations to update ps_singlecount. This makesClaudio Jeker
2020-03-16Keep track of traced child under a list of orphans while they are beingMartin Pieuchot
2020-02-21Remove sigacts structure sharing. The only process that used sharing wasClaudio Jeker
2020-01-30Split `p_priority' into `p_runpri' and `p_slppri'.Martin Pieuchot
2020-01-21Make __thrsleep(2) and __thrwakeup(2) MP-safeVisa Hankala
2020-01-06Make kqlist part of filedesc and serialize access to it using fdplock.Visa Hankala
2019-12-19Convert infinite sleeps to {m,t}sleep_nsec(9).Martin Pieuchot
2019-11-29Move p_sleeplocks and p_limit into the "zero on create" section of structPhilip Guenther
2019-11-29Move kcov(4)'s p_kd into the "zero on create" section to simplify fork codePhilip Guenther
2019-10-22struct proc: change ps_start from utc time to uptimecheloha
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