summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exit.c
AgeCommit message (Expand)Author
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
2012-04-13Backout a tiny part of the previous commit. Decrementing ps_singlecount inMark Kettenis
2012-04-13First stab at making ptrace(2) usable for debugging multi-threaded programs.Mark Kettenis
2012-04-11Move the P_WAITED flag from struct proc to struct process.Mark Kettenis
2012-04-10Make the KERN_NPROCS and KERN_MAXPROC sysctl()s and the RLIMIT_NPROC rlimitPhilip Guenthe
2012-04-06ruadd() does the summing of system and user times, so doing so againPhilip Guenthe
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe
2012-03-10Add PS_EXITING to better differentiate between the process exiting andPhilip Guenthe
2012-02-20First steps for making ptrace work with rthreads:Philip Guenthe
2012-01-17Reimplement mutexes, condvars, and rwlocks to eliminate bugs,Philip Guenthe
2011-12-14Handle rthreads consistently in ktrace by moving the flags and vnode intoPhilip Guenthe
2011-12-11Suspend other rthreads before dumping core or execing; make them exitPhilip Guenthe