summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exit.c
AgeCommit message (Expand)Author
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
2013-05-07Merge from FreeBSD, r191313Philip Guenther
2013-04-06rthreads are always enabled. remove the sysctl.Ted Unangst
2013-03-30vrele() is a tricky beast. it can sleep if the refcount hits zero,Ted Unangst
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
2012-09-08Plug a race where we're trying to kill a traced process while it is aleadyMark Kettenis
2012-08-02Apply profiling to all threads instead of just the thread that calledPhilip Guenthe
2012-07-11exit1(EXIT_THREAD) needs to call single_thread_check() so that itPhilip Guenthe
2012-07-09The linux emulation exit hook needs to be able to sleep, so call itPhilip Guenthe
2012-04-14If single threading is active, drirect the SIGKILL signal we send to orphanedMark Kettenis