Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove kernel support for NTP. ok deraadt@ and tholo@ | 2002-07-06 | 1 | -3/+1 | ||
| | ||||||
* | Redo the logic of reading of proc arguments to be more readable. | 2002-06-24 | 1 | -13/+49 | ||
| | | | | kjell@ says that it fixes his problems, noone else responded. | |||||
* | kernel changes to make asymmetric crypto work in userland | 2002-06-11 | 1 | -1/+5 | ||
| | | | | | | | | | | - modify getfeat to return something more useful to us on devices (like lofn and everything else until jason fixes it) that can't do rsa stuff, etc and can only do mod_exp.. - error handling fixes so we correctly fail to software when we can't deal with a particular key size - add sysctl kern.userasymcrypto to turn on/off userland asymmetric crypto via /dev/crypto - 1 == on, 0 == off, default is off | |||||
* | add struct pstats to struct eproc | 2002-06-09 | 1 | -6/+10 | ||
| | ||||||
* | KERN_MBSTAT | 2002-06-09 | 1 | -1/+5 | ||
| | ||||||
* | TTYCOUNT and NUMVNODES. | 2002-06-08 | 1 | -1/+6 | ||
| | ||||||
* | Add read-only KERN_NFILES (number of open files). | 2002-06-08 | 1 | -1/+3 | ||
| | ||||||
* | Sysctl for getting process arguments and environment. | 2002-06-08 | 1 | -3/+174 | ||
| | ||||||
* | Implement splassert() for sparc - a tool for finding problems related to | 2002-05-15 | 1 | -1/+4 | ||
| | | | | | | | spl handling (already found 3 problems). Man page in a few seconds. deraadt@ ok. | |||||
* | remove ambiguity in version,ostype,osversion,osrelease and their constanity, they are and declarre 'em accordingly also removing private externies of those | 2002-03-14 | 1 | -2/+1 | ||
| | ||||||
* | version[] is externed in the systm.h and give it some const | 2002-03-14 | 1 | -4/+5 | ||
| | ||||||
* | sysctl for cryptodevallowsoft - /dev/crypto will allow the software engine | 2002-03-01 | 1 | -1/+5 | ||
| | | | | | to be used if there are no hardware cards. mostly for debugging and regression. | |||||
* | sysctl kern.usercrypto | 2002-02-23 | 1 | -1/+8 | ||
| | ||||||
* | Sync in more uvm changes from NetBSD. | 2001-11-28 | 1 | -5/+7 | ||
| | | | | | This time we're getting rid of KERN_* and VM_PAGER_* error codes and use errnos instead. | |||||
* | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | 2001-11-06 | 1 | -4/+2 | ||
| | | | | (Look ma, I might have broken the tree) | |||||
* | sysctl() support for getting the SYSV *info structs and the associated | 2001-09-28 | 1 | -2/+147 | ||
| | | | | SYSV structs. To be used by ipcs(1). Based on work by simonb@netbsd.org | |||||
* | Fix PR 2051, tested by miod@ | 2001-09-07 | 1 | -2/+6 | ||
| | ||||||
* | Add a possibility to add a random offset to the stack on exec. This makes | 2001-08-18 | 1 | -2/+17 | ||
| | | | | | | | | | | | | 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. | |||||
* | It takes a greek to put buffer overflow and unterminated string | 2001-07-17 | 1 | -1/+3 | ||
| | | | | | handling into the kernel. Stick with the complicated stuff dude, breaking this simple shit is killing us! | |||||
* | make kern_msgbuf work for sparc, i thought it worked for me before; from miod | 2001-07-13 | 1 | -2/+2 | ||
| | ||||||
* | uvm_useracc is not necessary now that uvm_vslock knows how to fail. | 2001-06-27 | 1 | -4/+1 | ||
| | ||||||
* | remove old vm | 2001-06-27 | 1 | -24/+1 | ||
| | ||||||
* | Add a sysctl for getting pool information out of the kernel. | 2001-06-24 | 1 | -2/+5 | ||
| | ||||||
* | provide sysctl iface for msgbuf; raadtified | 2001-06-22 | 1 | -1/+7 | ||
| | ||||||
* | e_wmesg was not initialized in all cases; kirk.russell@acm.org | 2001-06-03 | 1 | -3/+3 | ||
| | ||||||
* | Export nprocs. | 2001-06-03 | 1 | -1/+3 | ||
| | ||||||
* | KERN_FSCALE and KERN_CCPU | 2001-06-03 | 1 | -2/+7 | ||
| | ||||||
* | Pass struct diskstats through sysctl, deraadt@ ok | 2001-06-03 | 1 | -27/+22 | ||
| | ||||||
* | Use lockmgr locks for kern.malloc.kmemstat and | 2001-05-14 | 1 | -17/+24 | ||
| | | | | hw.diskstats/hw.disknames. | |||||
* | Disk statistics via sysctl, first pass (locking to come in a few, then | 2001-05-14 | 1 | -3/+100 | ||
| | | | | use a separate sub-structure for the statistics) | |||||
* | kmemstats, nselcoll, forkstat, and nchstats structures through | 2001-05-11 | 1 | -2/+16 | ||
| | | | | sysctl. deraadt@ ok | |||||
* | Check for failure now that uvm_vslock can return one. Before this, there was | 2001-05-07 | 1 | -2/+7 | ||
| | | | | | a risk that we could crash when doing physio/sysctl when the system was completly out of RAM and swap. | |||||
* | Get rid of vm_pmap from struct vmspace. | 2001-04-06 | 1 | -5/+1 | ||
| | ||||||
* | Take vm_pmap out of struct vmspace if we are using UVM since UVM doesn't | 2001-03-23 | 1 | -1/+3 | ||
| | | | | | | 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. | |||||
* | Use a lockmgr lock for keeping down the vslocked memory in sysctl | 2001-03-16 | 1 | -18/+13 | ||
| | | | | instead of a home-brew equivalent. | |||||
* | add kern.cp_time sysctl, to be used by various things | 2001-01-31 | 1 | -2/+7 | ||
| | ||||||
* | sysctl_quad/sysctl_rdquad, and "malloc" node in kern sysctl | 2001-01-04 | 1 | -2/+54 | ||
| | ||||||
* | Mark kernel threads as system processes. Make ps hide them by default, | 2000-06-18 | 1 | -2/+8 | ||
| | | | | | | 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. | |||||
* | Changes to exit handling. | 2000-06-05 | 1 | -2/+2 | ||
| | | | | | | | | 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 | |||||
* | work around filleproc() vs exit1() race of p_rlimit | 2000-05-06 | 1 | -2/+2 | ||
| | ||||||
* | Bring in some new UVM code from NetBSD (not current). | 2000-03-16 | 1 | -2/+2 | ||
| | | | | | | | | | - 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. | |||||
* | Use the LIST_FIRST macro to get the head of zombproc list. | 2000-03-03 | 1 | -2/+2 | ||
| | ||||||
* | Use LIST_ macros instead of internal field names to walk the allproc list. | 2000-03-03 | 1 | -3/+3 | ||
| | ||||||
* | enlarge msgbuf, somewhat line netbsd did | 2000-02-22 | 1 | -1/+10 | ||
| | ||||||
* | add sysctl kern.arandom to get a random integer. useful when chrooted with | 1999-06-29 | 1 | -1/+3 | ||
| | | | | no /dev/arandom. | |||||
* | remove the "ifdef pmap_resident_count" hack and replace it with a macro. | 1999-06-01 | 1 | -7/+3 | ||
| | | | | change some &vm->vm_pmap to vm->vm_map.pmap | |||||
* | compat with uvm sysctl, some uvm name changes, cnt.foo -> uvmexp.bar | 1999-02-26 | 1 | -1/+26 | ||
| | ||||||
* | per XPG, gethostname() with a short buffer returns truncated data - not ENOMEM. | 1998-07-07 | 1 | -7/+43 | ||
| | | | | | As permitted, make the truncated buffer be NUL terminated. make getdomainname() match. | |||||
* | add sysctl and sysconf support for sysvsem, sysvshm, sysvmsg, and fsync; mostly from kleink | 1998-06-02 | 1 | -1/+21 | ||
| | ||||||
* | add kern.nosuidcoredump to lock things out even more | 1997-12-08 | 1 | -2/+4 | ||
| |