summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exit.c
AgeCommit message (Expand)Author
2022-03-31Move knote_processexit() call from exit1() to the reaper().Todd C. Miller
2022-02-14Introduce a signal context that is used to pass signal related informationClaudio Jeker
2022-01-28When it's the possessive of 'it', it's spelled "its", without thePhilip Guenther
2021-10-24use NULL not 0 for pointer values in kernJonathan Gray
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
2021-02-15Move single_thread_set() out of KERNEL_LOCK().Martin Pieuchot
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-09Add kernel-only per-thread kqueue & helpers to initialize and free it.Martin Pieuchot
2020-12-07Convert the per-process thread list into a SMR_TAILQ.Martin Pieuchot
2020-11-16Prevent exit status from being clobbered on thread exit.Joel Sing
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-03-18Restart child process scan in dowait4() if single_thread_wait() sleeps.Visa Hankala
2020-03-16Keep track of traced child under a list of orphans while they are beingMartin Pieuchot
2020-03-13Rename "sigacts" flag field to avoid conflict with the "process" one.Martin Pieuchot
2020-03-01Do not reparent a traced child to ourself inside wait(2).Martin Pieuchot
2020-02-28Revert previous, diff contains an obvious bug.Martin Pieuchot
2020-02-12Do not reparent a traced child to ourself inside wait(2).Martin Pieuchot
2019-12-19Convert infinite sleeps to {m,t}sleep_nsec(9).Martin Pieuchot
2019-12-11Replace p_xstat with ps_xexit and ps_xsigPhilip Guenther
2019-11-04Restore the old way of dispatching dead procs through idle proc.Visa Hankala
2019-11-02Move dead procs to the reaper queue immediately after context switch.Visa Hankala
2019-06-21Make resource limit access MP-safe. So far, the copy-on-write sharingVisa Hankala
2019-06-13Use PWAIT instead of PUSER in exit1().Martin Pieuchot
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-13When killing a process, the signal is handled by any thread thatAlexander Bluhm
2019-01-23eliminate a ?: in witness mtx initializer by pushing the default oneTed Unangst
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-10-04Call unveil_destroy() from exit1() instead of from the reaper. Fixes aMark Kettenis
2018-08-25Change kcov semantics, kernel code coverage tracing is now enabled on a peranton
2018-08-21Rework kcov kernel config. Instead of treating kcov as both an option and aanton
2018-08-19Add kcov(4), a kernel code coverage tracing driver. It's used in conjunctionanton
2018-08-13Simplify the startup of the cleaner, reaper and update threads byVisa Hankala
2018-07-13Unveiling unveil(2).Bob Beck
2018-02-10Move cleanup job control bits to their own function.Martin Pieuchot
2017-12-30Delete unnecessary <sys/file.h> includesPhilip Guenther
2017-11-28deadproc_mutex is only taken _before_ kernel_lock; exclude it fromPhilip 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-02-08Delete the obsolete fork/exec/exit emulation hooks.Philip Guenther
2016-11-07Split PID from TID, giving processes a PID unrelated to the TID of theirPhilip Guenther
2016-04-25boom goes the dynamiteTed Unangst
2016-03-29Use a macro to check if a thread has a sibling.Martin Pieuchot
2016-03-06Localize some declarations to kern_exit.c: the last good reason to putPhilip Guenther
2015-10-09Rename tame() to pledge(). This fairly interface has evolved to be moreTheo de Raadt