summaryrefslogtreecommitdiff
path: root/sys/kern/kern_fork.c
AgeCommit message (Expand)Author
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-07-07fork1: FORK_THREAD requires FORK_SHAREFILESMatthew Dempsky
2014-07-04Track whether a process is a zombie or not yet fully built via flagsPhilip Guenther
2014-05-15Move from struct proc to process the reference-count-holding pointersPhilip Guenther
2014-05-06Include <sys/vmmeter.h> directly instead of relying on it beingMartin Pieuchot
2014-05-04Add PS_SYSTEM, the process-level mirror of the thread-level P_SYSTEM,Philip Guenther
2014-05-03Move the u-area allocation and pmap-magic logic to its own functionPhilip Guenther
2014-04-18Have each thread keeps its own (counted!) reference to the process's ucredsPhilip Guenther
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-03-28Reduce uvm include madness. Use <uvm/uvm_extern.h> instead ofMartin Pieuchot
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-10arc4random_uniform() returns a value strictly less than its argument; fixPhilip 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-08Fix delivery of SIGPROF and SIGVTALRM to threaded processes by havingPhilip Guenther
2013-08-14The last user of the old __tfork() was updated to the current one,Philip Guenther
2013-06-11convert some easy bcopy to memcpy and clean up fdexpand a bit.Ted Unangst
2013-06-06Prevent idle thread from being stolen on startup.Christiano F. Haesbaert
2013-06-05factor out pid allocation to functions. add a small cache of recentlyTed Unangst
2013-06-03When creating a thread, don't add it to the process's thread listPhilip Guenther
2013-06-03Convert some internal APIs to use timespecs instead of timevalsPhilip Guenther
2013-06-01As found by kurt, there's a twisty race between exit1 and fork1Ted Unangst
2013-04-06rthreads are always enabled. remove the sysctl.Ted Unangst
2013-03-14the 5.1 era tfork syscall claws its way out of the grave. we failed toTed Unangst
2013-03-02No longer need the 5.1 version of the __tfork syscallPhilip Guenther
2012-11-19If uvm_km_kmemalloc_pla() fails when just creating a thread (and not aPhilip Guenthe
2012-08-02Apply profiling to all threads instead of just the thread that calledPhilip Guenthe
2012-06-21__tfork() needs to set the stack address of the new thread in the kernel,Philip Guenthe
2012-05-10Only set a process's start time when starting the main thread. There'sPhilip Guenthe
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