summaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
AgeCommit message (Expand)Author
2012-04-13First stab at making ptrace(2) usable for debugging multi-threaded programs.Mark Kettenis
2012-04-12remove rfork(); ok guenther miodTheo de Raadt
2012-04-12move accounting flags to struct process; idea and ok guentherMike Belopuhov
2012-04-10Make the KERN_NPROCS and KERN_MAXPROC sysctl()s and the RLIMIT_NPROC rlimitPhilip Guenthe
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe
2012-02-20First steps for making ptrace work with rthreads:Philip Guenthe
2011-12-14Handle rthreads consistently in ktrace by moving the flags and vnode intoPhilip Guenthe
2011-11-22Move struct proc's sigaltstack struct from the zeroed area into theJoshua Elsasser
2011-11-09Change fork1() and kthread_create() to match the rest of the treePhilip Guenthe
2011-11-05I had moved earlier the adding of processes to the pgrp and children listsPhilip Guenthe
2011-10-15"TLS-lite": add kernel support for a per-thread userspace pointer,Philip Guenthe
2011-07-07Functions used in files other than where they are defined should bePhilip Guenthe
2011-07-06Clean up after P_BIGLOCK removal.Artur Grabowski
2011-06-06push kernel malloc(9) and kernel stacks into non-dma memory, since thatTheo de Raadt
2011-04-03Move PPWAIT flag from struct proc to process, so that rthreads inPhilip Guenthe
2011-04-02Move P_SUGID and P_SUGIDEXEC from struct proc to struct process, soPhilip Guenthe
2010-10-31The return of rfork(RFTHREAD) must be consistent with getthrid().Philip Guenthe
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
2010-07-23Make sure the u area of new processes is zero-filled; this got lost inMiod Vallat
2010-07-19Rollback the allproclk and fileheadlk addition. When grabbing anPhilip Guenthe
2010-07-02add an align argument to uvm_km_kmemalloc_pla.Artur Grabowski
2010-06-30style nitThordur I. Bjornsson
2010-06-30Move the plimit and pcred bits in fork1() into process_new() and makePhilip Guenthe
2010-06-29We always copy struct pcred when creating a new process, so the referencePhilip Guenthe
2010-06-29Eliminate struct plimit's PL_SHAREMOD flag: it was for COMPAT_IRIXPhilip Guenthe
2010-06-29some late breaking style comments from guentherTed Unangst
2010-06-29Eliminate RTHREADS kernel option in favor of a sysctl. The actual statusTed Unangst
2010-06-27A process on the zombie list can have a NULL p_pgrp if it sleeps whenPhilip Guenthe
2010-05-29As noted by art, two processes with the same pid would be bad. GrabPhilip Guenthe
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
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