summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
AgeCommit message (Expand)Author
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
2011-04-04sysctl kern.pool_debug=0 will disable POOL_DEBUG on the fly (still defaultsTheo de Raadt
2011-04-02Constrain the buffer cache to use only the dma reachable region of memory.Bob Beck
2011-03-12Replace the old, broken KERN_PROC ABI and its matching functionsPhilip Guenthe
2011-02-16allow users to enable access to the /dev/crypto, but keep it turned offMike Belopuhov
2010-12-14disable access to the crypto(4) device from userland; ok deraadtMike Belopuhov
2010-11-19Make KERN_CPTIME return an avarage number of ticks across all CPUsMike Belopuhov
2010-11-02export the network livelock counter. part of a diff i committed theDavid Gwynne
2010-09-23Include the disklabel UID in hw.disknames.Joel Sing
2010-08-19Introduce an MI kern.consdev sysctl that will replace the MDMark Kettenis
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-07-02Since fill_eproc() is no longer called from coredump(), it can be droppedPhilip Guenthe
2010-06-30Add getsockopt SOL_SOCKET SO_PEERCRED support. This behaves similar toTheo de Raadt
2010-06-29Fail instead of lying if a process asks sysctl()'s KERN_PROC2 orPhilip Guenthe
2010-06-29Eliminate RTHREADS kernel option in favor of a sysctl. The actual statusTed Unangst
2010-06-19Skip exiting procesess in sysctl_file2(). As processes in exit1()Thordur I. Bjornsson
2010-05-02Use intermediate vaddr_t cast when casting a pointer to off_t. PreventsMark Kettenis
2010-04-20Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handledTheo de Raadt
2010-03-24Add a rwlock around the filehead and allproc lists, mainly to protectTed Unangst
2010-01-10Reimplement kvm_getproc2()'s support for reading crash dumps andPhilip Guenthe