summaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
AgeCommit message (Expand)Author
2010-03-24Add a rwlock around the filehead and allproc lists, mainly to protectTed Unangst
2010-01-14fix typos in comments, no code changes;Ingo Schwarze
2009-12-28Sanity check flags in fork1(), banning some combos we don't supportPhilip Guenthe
2009-12-23The process's rdomain should be, well, per-process and not per-rthread,Philip Guenthe
2009-11-27Add setrdomain() and getrdomain() system calls. Committing now toPhilip Guenthe
2009-07-09Remove the VREF() macro and replaces all instances with a call to verf(),Thordur I. Bjornsson
2009-04-14Some tweaks to the cpu affinity code.Artur Grabowski
2009-03-23Processor affinity for processes.Artur Grabowski
2008-11-11slightly optimized the ptrace stat allocation to only happen when needed.Ted Unangst
2008-11-09systrace activation happens in the middle of a rather sensitive piece ofTheo de Raadt
2008-11-03pre-allocate the ptrace_state we may need to tie to the new processTheo 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
2008-05-11share signal handlers for rthreads. from philip guentherTed Unangst
2007-10-10Make context switching much more MI:Artur Grabowski
2007-07-25Back out the tracking of procs in struct selinfo. There's one seriousArtur Grabowski
2007-05-16The world of __HAVEs and __HAVE_NOTs is reducing. All architecturesArtur Grabowski
2007-04-12move p_limit and p_cred into struct processTed Unangst
2007-04-03Start moving state that is shared among threads in a process intoArtur Grabowski
2007-03-24Kill the horrible hack of storing the pid in struct selinfo.Artur Grabowski
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
2007-01-17reintroduce rev 1.83 -- put the new process on the proc listsMichael Shalayeff
2006-11-29Kernel stack can be swapped. This means that stuff that's on the stackMiod Vallat
2006-04-30Backout last commit, it makes us crash when a ptraced program forks.Mark Kettenis
2006-03-27do not rush putting embrionic process on child/thread/sibling lists and set t...Michael Shalayeff
2006-02-20Compile out more rthreads stuff unless option RTHREADS;Miod Vallat
2005-12-22fix memory leak conditions in thrsleep and significantly simplifyTed Unangst
2005-12-04forgot to set P_THREAD for threaded processesTed Unangst
2005-12-03kernel support for threaded processes (rthreads).Ted Unangst
2005-11-02Avoid a theoretical race condition.Aaron Campbell
2005-09-14ptrace(2) following fork(2)Mark Kettenis
2005-05-29sched work by niklas and art backed out; causes panicsTheo de Raadt
2005-05-25This patch is mortly art's work and was done *a year* ago. Art wants to thankNiklas Hallqvist
2005-02-24fix pr4036, don't set p2->p_cpu to nullTed Unangst
2004-11-23Create the init process earlier, before the root filesystem is mounted,Miod Vallat
2004-08-06provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ okMichael Shalayeff
2004-08-04hardclock detects if ITIMER_VIRTUAL and ITIMER_PROF have expired andArtur Grabowski
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-06-09Merge in a piece of the SMP branch into HEAD.Artur Grabowski
2004-06-05retval may be NULL in fork1, take 2Ted Unangst
2004-05-24No way: This breaks nearly every architectureTheo de Raadt
2004-05-23according to fork1(9), retval is optional. make it so.Ted Unangst
2004-04-02rfork(RFMEM) shares complete vmspace. much more useful, and in line withTed Unangst
2003-09-23Limit "proc: table is full" messages to once every 10 seconds which helps whe...Todd C. Miller
2003-07-02comitted->committed in a commentAnil Madhavapeddy
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