summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exit.c
AgeCommit message (Expand)Author
2011-04-18Revert the sigacts diff: NFS can apparently retain pointers to processesPhilip Guenthe
2011-04-15Correct the sharing of the signal handling state: stuff that shouldPhilip Guenthe
2011-04-03Move PPWAIT flag from struct proc to process, so that rthreads inPhilip Guenthe
2010-08-02Fix knote handling for exiting processes: when triggering a NOTE_EXITPhilip Guenthe
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
2010-07-19Rollback the allproclk and fileheadlk addition. When grabbing anPhilip Guenthe
2010-06-29We always copy struct pcred when creating a new process, so the referencePhilip Guenthe
2010-06-29Eliminate RTHREADS kernel option in favor of a sysctl. The actual statusTed Unangst
2010-05-26Bad tedu, no cookie.Owain Ainsworth
2010-05-18move knote list to struct process. ok guentherTed Unangst
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