summaryrefslogtreecommitdiff
path: root/sys/kern/kern_proc.c
AgeCommit message (Expand)Author
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
2007-08-04Allow ddb>ps to print the full name of the wait state. Things likeChris Kuethe
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
2005-12-22fix memory leak conditions in thrsleep and significantly simplifyTed Unangst
2005-12-04older gcc (like real C) does not let you declare local variables afterTheo de Raadt
2005-12-03kernel support for threaded processes (rthreads).Ted Unangst
2005-11-28ansi/deregister.Jonathan Gray
2005-07-04oops, kernel free needs two args. thanks pedroTed Unangst
2005-07-03malloc(M_WAITOK) implies sleeping, so we have to double check thatTed Unangst
2005-03-10split out uidinfo from kern_proc.c private, use it to store lock count,Ted Unangst
2004-12-26Use list and queue macros where applicable to make the code easier to read;Miod Vallat
2004-11-18handle SONPROC; ok aaron, deraadt, krwMarkus Friedl
2004-10-04cacheing -> cachingPedro Martelletto
2004-07-25move db_show_all_procs to kern_proc.c, proc_printit goes in DDB too.Ted Unangst
2004-07-22SIMPLELOCK -> mutex for the lock around deadproc list.Artur Grabowski
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-01-29The Sxxx proc state defines start at 1, not 0. Also make the constTodd C. Miller
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-05-12Quoting Theo: Do not approve diffs when you're hungover.Artur Grabowski
2003-05-12use snprintf. ok mickeyTed Unangst