summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exit.c
AgeCommit message (Expand)Author
2010-03-24Add a rwlock around the filehead and allproc lists, mainly to protectTed Unangst
2009-12-20When using ptrace(), death of the traced process should always sendPhilip Guenthe
2009-12-20svr4_sys_waitsys() was seemingly implemented by copying sys_wait4()Philip Guenthe
2009-11-27Change threxit() to take a pointer to a pid_t to zero out from thePhilip Guenthe
2009-10-05Don't drop the big lock at the end of exit1(), but move it into the middle ofTheo de Raadt
2009-06-24Remove extra psignal/wakeup in exit1() which can cause the parent toKurt Miller
2009-04-03Fix SEM_UNDO handling for rthreads: use the struct process* insteadPhilip Guenthe
2009-03-26Remove cpu_wait(). It's original use was to be called from the reaper soOwain Ainsworth
2008-12-16Move the functionality of psignal() to a new function ptsignal()Philip Guenthe
2008-12-11a little bit of paranoiaTheo de Raadt
2008-11-06remove a really stupid comment. Duh, of course it can blockTheo de Raadt
2008-10-31accidental commit ... backoutTheo de Raadt
2008-10-31kern_sysctl.cTheo de Raadt
2008-10-30Use msleep() in the reaper to make it not lose events. Based on discussionTheo de Raadt
2008-10-14Back-in; problems were apparently elsewhere.Philip Guenthe
2008-10-10backout; is causing some people difficultyTheo de Raadt
2008-10-09Put a reference count in struct process to prevent use-after-freePhilip Guenthe
2008-05-11set p_flag to 0 sooner, so we don't overwrite the thread flag. and correctlyTed Unangst
2007-10-10Make context switching much more MI:Artur Grabowski
2007-04-12move p_limit and p_cred into struct processTed Unangst
2007-04-11remove proc from process thread list sooner in exit (notably, before waitingTed Unangst
2007-04-10undoTed Unangst
2007-04-10remove process from thread list sooner in exit (notably, before waitingTed Unangst
2007-04-05jason crawford noticed that the rthreads diff didn't compile with rthreads!Ted Unangst
2007-04-04oursleves -> ourselvesPedro Martelletto
2007-04-04Don't remove the process from the threads queue in proc_zap() as thatPedro Martelletto
2007-04-03Start moving state that is shared among threads in a process intoArtur Grabowski
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
2006-06-23consistantly count context switches on exit; miod@ okMichael Shalayeff
2006-06-15Nothing sets P_FSTRACE anymore, so remove all what's left of it.Miod Vallat
2006-04-06release kernel lock _after_ the emulation exit hook is called to protect poss...Michael Shalayeff
2006-02-20Compile out more rthreads stuff unless option RTHREADS;Miod Vallat
2005-12-13make exiting actually work when a thread receives a signal.Ted Unangst
2005-12-03kernel support for threaded processes (rthreads).Ted Unangst
2005-11-28ansi/deregister.Jonathan Gray
2005-09-14ptrace(2) following fork(2)Mark Kettenis
2004-12-26Use list and queue macros where applicable to make the code easier to read;Miod Vallat
2004-08-04hardclock detects if ITIMER_VIRTUAL and ITIMER_PROF have expired andArtur Grabowski
2004-07-22SIMPLELOCK -> mutex for the lock around deadproc list.Artur Grabowski
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-05-27make acct(2) optional with ACCOUNTINGTed Unangst
2004-03-20one proc.h is sufficientTed Unangst
2003-12-31wait4(2) takes and returns pid_t, not int. OK deraadt@ and miod@Todd C. Miller
2003-08-03Implement the WCONTINUED flag to the wait(2) family of syscalls and theTodd C. Miller
2003-07-21remove caddr_t casts. it's just silly to cast something when the functionTed Unangst
2003-06-21add exec/fork/exit hooks per process for compat emulations.Ted Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-10-29No need to free the address space in exit1(), we'll do that in the reaper.Artur Grabowski
2002-05-16systrace facility, used to enforce and generate policies for system callsNiels Provos
2002-03-14First round of __P removal in sysTodd C. Miller