summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
AgeCommit message (Expand)Author
2014-06-11Add bounds checks for CTL_DEBUG sysctl variable.Matthew Dempsky
2014-05-17When looking at another process, use the data from struct processPhilip Guenther
2014-05-04Add PS_SYSTEM, the process-level mirror of the thread-level P_SYSTEM,Philip Guenther
2014-05-03If P_ZOMBIE(pr->ps_mainproc) is true, then (pr->ps_flags & PS_EXITING)Philip Guenther
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-03-22Move p_sigacts from struct proc to struct process.Philip Guenther
2014-01-21bzero -> memsetTed Unangst
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-22- add UNIX-domain socket info to struct kinfo_file2Philip Guenther
2013-07-09back out the cache flipper temporarily to work out of tree.Bob Beck
2013-06-13beck would prefer to keep things just as they were for a while longer.Ted Unangst
2013-06-11sprinkle knf fairy dust over new buf codeTed Unangst
2013-06-11High memory page flipping for the buffer cache.Bob Beck
2013-06-09Constify the mib argument of sysctl().Miod Vallat
2013-06-03Convert some internal APIs to use timespecs instead of timevalsPhilip Guenther
2013-04-06rthreads are always enabled. remove the sysctl.Ted Unangst
2013-03-23pull the suser check for sysctl pointers up higher, out of the loops.Ted Unangst
2013-03-20When non-root asks sysctl for kinfo proc or file requests, do not fill inTheo de Raadt
2013-02-11When information about threads are not requested sum the '%cpu' ofMartin Pieuchot
2013-01-15restrict KERN_PROC_ARGS lookup of KERN_PROC_NENV and KERN_PROC_ENVjoshua stein
2012-12-30In sysctl_proc_cwd(), vref() the target proc's fd_cdir before callingPhilip Guenthe
2012-11-05unifdef -D __HAVE_TIMECOUNTERMiod Vallat
2012-08-30Remove a useless test for "elem_count < 0", which can never be trueMatthew Dempsky
2012-06-02Committed the wrong version (an earlier try) of the KERN_FILE2 vsPhilip Guenthe
2012-05-30Oops, when we moved _POSIX_SAVED_IDS from sys/unistd.h to unistd.h, itMatthew Dempsky
2012-05-25Change the KERN_FILE_BYPID and KERN_FILE_BYUID modes of the KERN_FILE2Philip Guenthe
2012-05-02Oops, previous change had some unrelated changes that shouldn't have beenPhilip Guenthe
2012-05-01Eliminate the f_usecount ref count in struct file; instead of sleepingPhilip Guenthe
2012-04-17Make it optional for kvm_getprocs() (and related sysctl) to returnPaul Irofti
2012-04-12Add per thread accounting, mainly for usage & friends.Paul Irofti
2012-04-10Make the KERN_NPROCS and KERN_MAXPROC sysctl()s and the RLIMIT_NPROC rlimitPhilip Guenthe
2012-03-28The kinfo_file2 structure's f_wbytes member was being filled with thePhilip Guenthe
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe
2012-03-130 is a valid uid for files sysctl, don't skip it. ok guentherTed Unangst
2012-03-10Add PS_EXITING to better differentiate between the process exiting andPhilip Guenthe
2012-02-20First steps for making ptrace work with rthreads:Philip Guenthe
2012-02-15Enable rthreads by defaultPhilip Guenthe
2012-01-21Make the KERN_FILE2 sysctl() report ENOMEM as documented in sysctl(3).Philip Guenthe
2012-01-07Add rtable id and thread id to struct kinfo_proc (and fix process id)Philip Guenthe
2011-12-14Handle rthreads consistently in ktrace by moving the flags and vnode intoPhilip Guenthe
2011-12-09Add new KERN_PROC_CWD sysctl to get the current working directory of a process.Nicholas Marriott
2011-09-18Do not use the `hh' modifier in printf format strings, as the kernel printfMiod Vallat
2011-09-18Make sysctl__string() handle the truncated output case via twoPhilip Guenthe
2011-07-05Recommit the reverted sigacts change now that the NFS use-after-freePhilip Guenthe
2011-06-27Make KERN_FILE and KERN_FILE2 behavior consistent: when the caller doesn'tPhilip Guenthe
2011-06-24machdep.kbdreset enables a shutdown by Ctrl-Alt-Del on amd64 andChristian Weisgerber
2011-06-09Don't copy the first octet of the source IPv6 address where the destinationStuart Henderson
2011-04-18Revert the sigacts diff: NFS can apparently retain pointers to processesPhilip Guenthe
2011-04-15Correct the sharing of the signal handling state: stuff that shouldPhilip Guenthe