summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exit.c
AgeCommit message (Expand)Author
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
2015-10-07Add the tame "exec" request. This allows processes which requestTheo de Raadt
2015-09-11Only include <sys/tame.h> in the .c files that need itPhilip Guenther
2015-08-28fairly simple sizes for free(); ok teduTheo de Raadt
2015-08-22Move to tame(int flags, char *paths[]) API/ABI.Theo de Raadt
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-16primary change: move uvm_vnode out of vnode, keeping only a pointer.Ted Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-11It's init as a process that's special, not init's original thread.Philip Guenther
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-07-04Track whether a process is a zombie or not yet fully built via flagsPhilip Guenther
2014-06-11Fix wait4 to not modify status or rusage if we return 0 because ofMatthew Dempsky
2014-05-15knote_processexit() needs the thread to pass down to FRELE(), so pass itPhilip Guenther
2014-05-15Move from struct proc to process the reference-count-holding pointersPhilip Guenther
2014-04-18Have each thread keeps its own (counted!) reference to the process's ucredsPhilip Guenther
2014-04-17Make sure the original thread is blocked until any other threads arePhilip Guenther
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-03-26Move p_emul and p_sigcode from proc to process.Philip Guenther
2014-03-22Move p_sigacts from struct proc to struct process.Philip Guenther
2014-02-12Eliminate the exit sig handling, which was only invokable via thePhilip Guenther
2014-02-09Fix the lock order reversal problem in the code that stops tracedMark Kettenis
2014-01-24exit1() needs to do a final aggregation of the thread's [us]ticksPhilip Guenther
2014-01-21Setting p->p_p to NULL when it's still running isn't safe for statclock().Philip Guenther
2014-01-20Threads can't be zombies, only processes, so change zombproc to zombprocess,Philip Guenther
2014-01-20Move p_textvp from struct proc to struct process so that the exit codePhilip Guenther
2013-10-25Move the declarations for dogetrusage(), itimerround(), and dowait4()Philip Guenther
2013-10-08Fix delivery of SIGPROF and SIGVTALRM to threaded processes by havingPhilip Guenther
2013-09-14Snapshots for all archs have been built, so remove the T32 codePhilip Guenther
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
2013-06-05factor out pid allocation to functions. add a small cache of recentlyTed Unangst
2013-06-01some small style changes that are distracting me from seeing a real bugTed Unangst