summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
AgeCommit message (Expand)Author
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
2006-01-19Replace SENSOR_ADD() macro with a pair of functionsAlexander Yurchenko
2005-11-28ansi/deregister.Jonathan Gray
2005-11-21rename the sensor globals to names that are not obvious to avoidDavid Gwynne
2005-11-19Remove unnecessary lockmgr() archaism that was costing too much in termsPedro Martelletto
2005-11-10split the sensors stuff out into a source file of its own.David Gwynne
2005-11-04Add an extra flags argument to uvm_io(), to specify whether we want to fixMiod Vallat
2005-09-25Turn CPU_INFO_FOREACH into a real construct, like all queue(3) iterators,Miod Vallat
2005-09-20unbreak tree, how did you do that miodTheo de Raadt
2005-09-20Turn CPU_INFO_FOREACH into a real construct, like all queue(3) iterators,Miod Vallat
2005-07-31do not allocate huge kinfo_proc2 and eproc structures on the stack.Theo de Raadt
2005-06-08Add KERN_CPTIME2 on systems where __HAVE_CPUINFO is defined, exposesTodd C. Miller
2005-06-04let the arc4random sysctl write out up to 256 bytes at once.Ted Unangst
2005-05-24add a new field to vm_space and use it to track the number of anonTed Unangst
2005-03-10split out uidinfo from kern_proc.c private, use it to store lock count,Ted Unangst
2004-12-24Do not provide the KERN_EMUL, KERN_EVCOUNT, KERN_INTRCNT, KERN_PROC* andMiod Vallat
2004-11-26Kill __HAVE_EVCOUNT, now that all architectures provide them.Miod Vallat
2004-10-14a more reasonable limit for the stackgap_random; found by openbsd@hunger.huMichael Shalayeff
2004-09-23change KERN_INTRCNT_CNT to return a quad; ok teduTheo de Raadt
2004-09-15Check for num < 0 in sysctl_sensors(); from Patrick Latifi.Alexander Yurchenko
2004-07-28This touches only MI code, and adds new time keeping code. TheThorsten Lockert
2004-06-28Add new, generic ``evcount'' event counter API to the kernel. From art@,Aaron Campbell
2004-06-25Instead of accessing ci_dev (that's an MI field), provide a marco thatArtur Grabowski
2004-06-24Remove the 8 page limit for sysctl_proc_args after discussing with Theo.Todd C. Miller
2004-06-20Another merge error from smp branch.Artur Grabowski
2004-06-16export cpu# instead of apid#; art okTheo de Raadt
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-06-09Merge in a piece of the SMP branch into HEAD.Artur Grabowski
2004-06-08pull ncpus support from smp tree into main branch.Marco S Hyman
2004-05-27apm restores perflevel after resume; some cpus are forgetful.Ted Unangst
2004-05-23bad stuff escaped by accidentTed Unangst