summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exit.c
AgeCommit message (Expand)Author
2024-01-19Backout priterator() for walking allprocess list.Alexander Bluhm
2024-01-16The kernel will now read pinsyscall tables out of PT_OPENBSD_SYSCALLS inTheo de Raadt
2024-01-15Introduce priterator(), the `ps_list' iterator. Some of `allprocess'Vitaliy Makkoveev
2023-09-29Extend single_thread_set() mode with additional flag attributes.Claudio Jeker
2023-09-21Move code inside exit1() to better spots.Claudio Jeker
2023-09-13Revert commitid: yfAefyNWibUyjkU2, ESyyH5EKxtrXGkS6 and itscfpFvJLOj8mHB;Claudio Jeker
2023-09-08Change how ps_threads and p_thr_link are locked away from using SCHED_LOCK.Claudio Jeker
2023-09-04Protect ps_single, ps_singlecnt and ps_threadcnt by the process mutex.Claudio Jeker
2023-08-29Remove p_rtime from struct proc and replace it by passing the timespecClaudio Jeker
2023-04-25Rename ps_refcnt to ps_threadcnt in struct process and implementClaudio Jeker
2022-12-29Add ktrace struct tracepoints for siginfo_t to the kernel side ofPhilip Guenther
2022-12-19Add WTRAPPED opiton for waitid(2) to control whether CMD_TRAPPEDPhilip Guenther
2022-12-05zap a pile of dangling tabsTheo de Raadt
2022-11-03Style: always use *retval and never retval[0] in syscalls,Philip Guenther
2022-10-26Fix handling of PGIDs in wait4(2) that I broke with the previous commit.Mark Kettenis
2022-10-25Implement waitid(2) which is now part of POSIX and used by mozilla.Mark Kettenis
2022-08-14remove unneeded includes in sys/kernJonathan Gray
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