summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exit.c
AgeCommit message (Expand)Author
2024-09-06Remove incorrect increment of the context switch counter.Martin Pieuchot
2024-08-16Atomically modify `nthreads' and move proc_free() out of KERNEL_LOCK().Martin Pieuchot
2024-08-11Make exit1() wait sysctl(2) `allprocess' loops.Vitaliy Makkoveev
2024-08-06Revert the knote_processexit() bits of the diff. It introduced a smallClaudio Jeker
2024-08-06Stop using KERNEL_LOCK to protect the per process kqueue listClaudio Jeker
2024-07-29Replace per thread P_CONTINUED with per process PS_CONTINUED flagClaudio Jeker
2024-07-24Remove the (pr->ps_single->p_flag & P_SUSPSINGLE) == 0 check since itClaudio Jeker
2024-07-24Move uvm_exit() outside of the KERNEL_LOCK() in the reaper.Martin Pieuchot
2024-07-22Switch proc_finish_wait() to use the process as argument instead of itsClaudio Jeker
2024-07-08Rework per proc and per process time usage accountingClaudio Jeker
2024-07-08Fix comment for exit2() this code is called by sched_idle() not cpu_exit().Claudio Jeker
2024-06-03Remove the now unsued s argument to SCHED_LOCK and SCHED_UNLOCK.Claudio Jeker
2024-05-20Rework interaction between sleep API and exit1() and start unlocking ps_threadsClaudio Jeker
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