summaryrefslogtreecommitdiff
path: root/sys/kern/kern_proc.c
AgeCommit message (Expand)Author
2018-06-21Use atomic operations for updating cred structure reference countsVisa Hankala
2018-03-27Make sure that programs violating a pledge(2) promise or some memoryMartin Pieuchot
2018-02-26Serialize access to UID data with a rwlock.Martin Pieuchot
2018-02-20Introduce enternewpgrp() & enterthispgrp(), from FreeBSD via guenther@.Martin Pieuchot
2018-02-10Move cleanup job control bits to their own function.Martin Pieuchot
2017-12-30Delete unnecessary <sys/file.h> includesPhilip Guenther
2017-12-04Change __mp_lock_held() to work with an arbitrary CPU info structure andMartin Pieuchot
2017-09-29New ddb(4) command: kill.Martin Pieuchot
2017-02-04Update usage for ps/w to match previous commitPhilip Guenther
2017-01-24Display process group in "ps /w" since they got removed from "ps /n".Martin Pieuchot
2017-01-24Display the thread ID (TID) rather than the process group ID (PGRP)Martin Pieuchot
2017-01-24Rename pfind(9) into tfind(9) to reflect that it deals with threads.Martin Pieuchot
2017-01-21p_comm is the process's command and isn't per thread, so move it fromPhilip Guenther
2016-11-07Split PID from TID, giving processes a PID unrelated to the TID of theirPhilip Guenther
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-09-02add a concept of 'verified auth' to sessions. When set via ioctl,Ted Unangst
2016-08-25pool_setiplDavid Gwynne
2016-06-27Repair kill(2) on zombie processes.Jeremie Courreges-Anglas
2016-03-04repair documentation for inferior(); from Michal MazurekTheo de Raadt
2015-09-11Add ddb ps/o, displaying just the non-idle on-proc threadsPhilip Guenther
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-19start retiring the nointr allocator. specify PR_WAITOK as a flag as aTed Unangst
2014-12-10convert bcopy to memcpy. ok millertTed Unangst
2014-11-03pass size argument to free()Theo de Raadt
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
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-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-03-26Move p_emul and p_sigcode from proc to process.Philip Guenther
2014-01-20Threads can't be zombies, only processes, so change zombproc to zombprocess,Philip Guenther
2013-10-02format string fix: p_*ticks are u_intStefan Fritsch
2013-09-22Stop merging the per-thread and per-process flags when reportingPhilip Guenther
2013-08-12The ps flags are split between thread and process. It is usefulAlexander Bluhm
2013-08-08Uncomment kprintf format attributes for sys/kernSylvestre Gallon
2013-02-17Comment out recently added __attribute__((__format__(__kprintf__))) annotationsMiod Vallat
2013-02-09Add explicit __attribute__ ((__format__(__kprintf__)))) to the functions andMiod Vallat
2012-04-10Make the KERN_NPROCS and KERN_MAXPROC sysctl()s and the RLIMIT_NPROC rlimitPhilip Guenthe
2011-09-18%, is not a valid format specifierMiod Vallat
2011-03-07The scheduling 'nice' value is per-process, not per-thread, so move itPhilip 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-07-10A process on the zombie list can have a NULL p_pgrp if it sleeps whenPhilip Guenthe
2010-03-24Add a rwlock around the filehead and allproc lists, mainly to protectTed Unangst
2010-01-28Make sure the process tree is is loop-free by forbidding ptrace()Philip Guenthe
2009-04-15Misplaced comment.Artur Grabowski
2008-11-01change all callers of enterpgrp() to pre-allocate a pgrp or session ifTheo de Raadt
2008-10-31accidental commit ... backoutTheo de Raadt
2008-10-31kern_sysctl.cTheo de Raadt
2007-10-10Make context switching much more MI:Artur Grabowski
2007-09-07Use M_ZERO in a few more places to shave bytes from the kernel.Artur Grabowski