summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
AgeCommit message (Expand)Author
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
2009-08-09Rototill system V message queues.Bret Lambert
2009-08-02Dynamic buffer cache support - a re-commit of what was backed outBob Beck
2009-07-21Handle the case where so_pcb is NULL.Todd C. Miller
2009-07-19Hook up "text" (executable) output and implement for fuser too.Todd C. Miller
2009-06-15No you cannot remove a sysctl mib once you add it. It becomes ABI. ThatTheo de Raadt
2009-06-15Back out all the buffer cache changes I committed during c2k9. This reverts t...Bob Beck
2009-06-08some vnodes have a NULL mountpoint, so strlcpy of the f_mntonname if not advisedTheo de Raadt
2009-06-07Add KERN_FILE2 sysctl analogous to KERN_PROC2 but for file structures,Todd C. Miller
2009-06-05Dynamic buffer cache sizing.Bob Beck
2009-06-03add kern.bufcachepercent sysctl to allow adjusting the buffer cacheBob Beck
2009-04-19Count number of cpus found (potentially not attached) and store thatTheo de Raadt
2009-01-21Pass the new pointer to sysctl_clockrate(), so that trying to change theMiod Vallat
2008-10-31Do not assume that a pointer to another process will live over a set ofTheo de Raadt
2008-10-31accidental commit ... backoutTheo de Raadt
2008-10-31accidental commit ... backoutTheo de Raadt
2008-10-31kern_sysctl.cTheo de Raadt
2008-10-09pass NULL rather than 0 for interrupt time usage to calcru()Kevin Lo
2008-10-07Do not display file offsets and a few other pieces of information, exceptTheo de Raadt
2008-06-09rename arc4random_bytes => arc4random_buf to match libc's nicer name;Damien Miller
2008-02-09Introduce HW_PHYSMEM64 and HW_USERMEM64 sysctls, which don't overflow onMark Kettenis
2007-12-23protect the disk statistics with a mutex.David Gwynne
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-09-01replace the machine dependant bytes-to-clicks macro by the MI ptoa()Martin Reindl
2007-08-09be more consistent in memcpy usage; no md5 change in .o; ok deraadt@Constantine A. Murenin
2007-06-01decouple the allocated number of vnodes from the "desiredvnodes" variableBob Beck
2007-05-29Add a name argument to the RWLOCK_INITIALIZER macro.Thordur I. Bjornsson
2007-05-16The world of __HAVEs and __HAVE_NOTs is reducing. All architecturesArtur Grabowski
2007-04-18When vslocking memory for the sysctl make sure that we aren't tryingArtur Grabowski
2007-04-12move p_limit and p_cred into struct processTed Unangst
2007-03-22split userland & kernel struct sensor/sensordev so that the additionTheo de Raadt
2007-02-20for sensors do not leak kernel pointers when copying out to userland;Theo de Raadt
2007-01-12Switch some lockmgr locks to rwlocks.Artur Grabowski
2006-12-23kernel code implimemting the new two-level sensor api; written byTheo de Raadt
2006-12-12Complete gwk's previous patch to stop setperf methods from returningDimitry Andric
2006-12-08A more permanent solution to setperf methods returning error values andGordon Willem Klok
2006-11-29Kernel stack can be swapped. This means that stuff that's on the stackMiod Vallat
2006-05-28back out my last commit. art pointed out that sysctl cannot sleep whenDavid Gwynne
2006-05-20It is possible for a sensor to be detached and freed while it is beingDavid Gwynne
2006-05-08Add smbios support for i386 and amd64, fix ipmi to use this new functionallity,Gordon Willem Klok
2006-03-15add sysctl_int_lower(). This can read, but can only write to a kernelTheo de Raadt
2006-01-28get rid of the sensors globals. theyre were only used by sysctl forDavid Gwynne