Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-09-28 | sysctl() support for getting the SYSV *info structs and the associated | Todd C. Miller | |
SYSV structs. To be used by ipcs(1). Based on work by simonb@netbsd.org | |||
2001-09-07 | Fix PR 2051, tested by miod@ | Angelos D. Keromytis | |
2001-08-18 | Add a possibility to add a random offset to the stack on exec. This makes | Artur Grabowski | |
it slightly harder to write generic buffer overflows. This doesn't really give any real security, but it raises the bar for script-kiddies and it's really cheap. The range of the random offsets is controlled by the sysctl kern.stackgap_random (must be a power of 2). This is disabled by default right now, but we'll set it to a reasonable value (1024?) soon, after some more testing. | |||
2001-07-17 | It takes a greek to put buffer overflow and unterminated string | Theo de Raadt | |
handling into the kernel. Stick with the complicated stuff dude, breaking this simple shit is killing us! | |||
2001-07-13 | make kern_msgbuf work for sparc, i thought it worked for me before; from miod | Michael Shalayeff | |
2001-06-27 | uvm_useracc is not necessary now that uvm_vslock knows how to fail. | Artur Grabowski | |
2001-06-27 | remove old vm | Artur Grabowski | |
2001-06-24 | Add a sysctl for getting pool information out of the kernel. | Artur Grabowski | |
2001-06-22 | provide sysctl iface for msgbuf; raadtified | Michael Shalayeff | |
2001-06-03 | e_wmesg was not initialized in all cases; kirk.russell@acm.org | Theo de Raadt | |
2001-06-03 | Export nprocs. | Angelos D. Keromytis | |
2001-06-03 | KERN_FSCALE and KERN_CCPU | Angelos D. Keromytis | |
2001-06-03 | Pass struct diskstats through sysctl, deraadt@ ok | Angelos D. Keromytis | |
2001-05-14 | Use lockmgr locks for kern.malloc.kmemstat and | Angelos D. Keromytis | |
hw.diskstats/hw.disknames. | |||
2001-05-14 | Disk statistics via sysctl, first pass (locking to come in a few, then | Angelos D. Keromytis | |
use a separate sub-structure for the statistics) | |||
2001-05-11 | kmemstats, nselcoll, forkstat, and nchstats structures through | Angelos D. Keromytis | |
sysctl. deraadt@ ok | |||
2001-05-07 | Check for failure now that uvm_vslock can return one. Before this, there was | Artur Grabowski | |
a risk that we could crash when doing physio/sysctl when the system was completly out of RAM and swap. | |||
2001-04-06 | Get rid of vm_pmap from struct vmspace. | Artur Grabowski | |
2001-03-23 | Take vm_pmap out of struct vmspace if we are using UVM since UVM doesn't | Todd 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-16 | Use a lockmgr lock for keeping down the vslocked memory in sysctl | Artur Grabowski | |
instead of a home-brew equivalent. | |||
2001-01-31 | add kern.cp_time sysctl, to be used by various things | Theo de Raadt | |
2001-01-04 | sysctl_quad/sysctl_rdquad, and "malloc" node in kern sysctl | Angelos D. Keromytis | |
2000-06-18 | Mark 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-05 | Changes 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-06 | work around filleproc() vs exit1() race of p_rlimit | Theo de Raadt | |
2000-03-16 | Bring 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-03 | Use the LIST_FIRST macro to get the head of zombproc list. | Artur Grabowski | |
2000-03-03 | Use LIST_ macros instead of internal field names to walk the allproc list. | Artur Grabowski | |
2000-02-22 | enlarge msgbuf, somewhat line netbsd did | Theo de Raadt | |
1999-06-29 | add sysctl kern.arandom to get a random integer. useful when chrooted with | Niels Provos | |
no /dev/arandom. | |||
1999-06-01 | remove 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-26 | compat with uvm sysctl, some uvm name changes, cnt.foo -> uvmexp.bar | Artur Grabowski | |
1998-07-07 | per 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-02 | add sysctl and sysconf support for sysvsem, sysvshm, sysvmsg, and fsync; ↵ | Theo de Raadt | |
mostly from kleink | |||
1997-12-08 | add kern.nosuidcoredump to lock things out even more | Theo de Raadt | |
1997-11-06 | fix ps(1) LIM column | kstailey | |
1997-11-06 | Updates for VFS Lite 2 + soft update. | Constantine Sapuntzakis | |
1997-10-06 | back out vfs lite2 till after 2.2 | Theo de Raadt | |
1997-10-06 | VFS Lite2 Changes | Constantine Sapuntzakis | |
1997-09-03 | changes for ps "emul" option | kstailey | |
1997-06-22 | wasn't a race after all. properly initialize event_q pointers so the | flipk | |
last one doesn't point off the end. | |||
1997-06-21 | revert, there's a nasty race condition here. | flipk | |
1997-06-14 | split the treatment of the random events | Michael 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-27 | Make kern.osrevision (sysctl) and /kern/osrev report value of | Todd C. Miller | |
OpenBSD define, not BSD which is a bit more useful. | |||
1997-03-26 | loginname copying in fill_eproc; gwing@primenet.com.au | Theo de Raadt | |
1996-10-04 | usermount sysctl, default to prevent users from using mount syscall | Theo de Raadt | |
1996-09-20 | `solve' the syn bomb problem as well as currently known; add sysctl's for | Theo 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-08 | Make {,f}chown(2) behaviour POSIX.1 compliant with SUID / SGID files | Thorsten 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-29 | Add external declaration for osversion[] | Thorsten Lockert | |
1996-06-29 | MIssed this one in previous commit; make uname(1) and uname(3) do the | Thorsten Lockert | |
right thing for the version field |