summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
AgeCommit message (Collapse)Author
2001-06-27remove old vmArtur Grabowski
2001-06-24Add a sysctl for getting pool information out of the kernel.Artur Grabowski
2001-06-22provide sysctl iface for msgbuf; raadtifiedMichael Shalayeff
2001-06-03e_wmesg was not initialized in all cases; kirk.russell@acm.orgTheo de Raadt
2001-06-03Export nprocs.Angelos D. Keromytis
2001-06-03KERN_FSCALE and KERN_CCPUAngelos D. Keromytis
2001-06-03Pass struct diskstats through sysctl, deraadt@ okAngelos D. Keromytis
2001-05-14Use lockmgr locks for kern.malloc.kmemstat andAngelos D. Keromytis
hw.diskstats/hw.disknames.
2001-05-14Disk statistics via sysctl, first pass (locking to come in a few, thenAngelos D. Keromytis
use a separate sub-structure for the statistics)
2001-05-11kmemstats, nselcoll, forkstat, and nchstats structures throughAngelos D. Keromytis
sysctl. deraadt@ ok
2001-05-07Check for failure now that uvm_vslock can return one. Before this, there wasArtur Grabowski
a risk that we could crash when doing physio/sysctl when the system was completly out of RAM and swap.
2001-04-06Get rid of vm_pmap from struct vmspace.Artur Grabowski
2001-03-23Take vm_pmap out of struct vmspace if we are using UVM since UVM doesn'tTodd C. Miller
use that. Fixes size mismatch in i386 pmap.new kernel. This requires that users rebuild libkvm and friends using the new headers for ps et al to work with a new kernel.
2001-03-16Use a lockmgr lock for keeping down the vslocked memory in sysctlArtur Grabowski
instead of a home-brew equivalent.
2001-01-31add kern.cp_time sysctl, to be used by various thingsTheo de Raadt
2001-01-04sysctl_quad/sysctl_rdquad, and "malloc" node in kern sysctlAngelos D. Keromytis
2000-06-18Mark kernel threads as system processes. Make ps hide them by default,Niklas Hallqvist
show them with -k. Do not try to show RSS based values for them as they mess up column alignment. vmstat -f now shows kernel threads separately from rforks too.
2000-06-05Changes to exit handling.Artur Grabowski
cpu_exit no longer frees the vmspace and u-area. This is now handled by a separate kernel thread "reaper". This is to avoid sleeping locks in the critical path of cpu_exit where we're not allowed to sleep. From NetBSD
2000-05-06work around filleproc() vs exit1() race of p_rlimitTheo de Raadt
2000-03-16Bring in some new UVM code from NetBSD (not current).Artur Grabowski
- Introduce a new type of map that are interrupt safe and never allow faults in them. mb_map and kmem_map are made intrsafe. - Add "access protection" to uvm_vslock (to be passed down to uvm_fault and later to pmap_enter). - madvise(2) now works. - various cleanups.
2000-03-03Use the LIST_FIRST macro to get the head of zombproc list.Artur Grabowski
2000-03-03Use LIST_ macros instead of internal field names to walk the allproc list.Artur Grabowski
2000-02-22enlarge msgbuf, somewhat line netbsd didTheo de Raadt
1999-06-29add sysctl kern.arandom to get a random integer. useful when chrooted withNiels Provos
no /dev/arandom.
1999-06-01remove the "ifdef pmap_resident_count" hack and replace it with a macro.Artur Grabowski
change some &vm->vm_pmap to vm->vm_map.pmap
1999-02-26compat with uvm sysctl, some uvm name changes, cnt.foo -> uvmexp.barArtur Grabowski
1998-07-07per XPG, gethostname() with a short buffer returns truncated data - not ENOMEM.Theo de Raadt
As permitted, make the truncated buffer be NUL terminated. make getdomainname() match.
1998-06-02add sysctl and sysconf support for sysvsem, sysvshm, sysvmsg, and fsync; ↵Theo de Raadt
mostly from kleink
1997-12-08add kern.nosuidcoredump to lock things out even moreTheo de Raadt
1997-11-06fix ps(1) LIM columnkstailey
1997-11-06Updates for VFS Lite 2 + soft update.Constantine Sapuntzakis
1997-10-06back out vfs lite2 till after 2.2Theo de Raadt
1997-10-06VFS Lite2 ChangesConstantine Sapuntzakis
1997-09-03changes for ps "emul" optionkstailey
1997-06-22wasn't a race after all. properly initialize event_q pointers so theflipk
last one doesn't point off the end.
1997-06-21revert, there's a nasty race condition here.flipk
1997-06-14split the treatment of the random eventsMichael Shalayeff
event_q by flipk@ spl fix by deraadt@ gother statistics about whole processing use 'sysctl kern.random' to view what had happened also fix wrong vm.psstrings description
1997-03-27Make kern.osrevision (sysctl) and /kern/osrev report value ofTodd C. Miller
OpenBSD define, not BSD which is a bit more useful.
1997-03-26loginname copying in fill_eproc; gwing@primenet.com.auTheo de Raadt
1996-10-04usermount sysctl, default to prevent users from using mount syscallTheo de Raadt
1996-09-20`solve' the syn bomb problem as well as currently known; add sysctl's forTheo de Raadt
SOMAXCONN (kern.somaxconn), SOMINCONN (kern.sominconn), and TCPTV_KEEP_INIT (net.inet.tcp.keepinittime). when this is not enough (ie. overfull), start doing tail drop, but slightly prefer the same port.
1996-08-08Make {,f}chown(2) behaviour POSIX.1 compliant with SUID / SGID filesThorsten Lockert
Enable CTL_FS processing by sysctl(3) Add CTL_FS request to disable clearing SUID / SGID bit when a files owner or group is changed by root Make sysctl(8) understand CTL_FS requests
1996-06-29Add external declaration for osversion[]Thorsten Lockert
1996-06-29MIssed this one in previous commit; make uname(1) and uname(3) do theThorsten Lockert
right thing for the version field
1996-05-24When INSECURE is not defined, leave securelevel in the BSS so the kerneldm
binary is harder to patch. (Basically undo last change).
1996-05-23force securelevel to 0Theo de Raadt
1996-04-23Allow the security level to be lowered when in security level 0dm
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-19NetBSD 960317 mergeNiklas Hallqvist
1996-03-30Added: sysctl access to the ddb variables.Michael Shalayeff
Fixed: "netbsd" strings in sym table handling routines. now it is usefull to change max_{width,line} according to your real console geometry, just w/ sysctl program.