Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-02-27 | Move setperf_prio to the machdep code, requested by deraadt@ | Alexander Yurchenko | |
ok deraadt@ | |||
2004-02-27 | Introduce simple priorities mechanism so that concurrent | Alexander Yurchenko | |
hw.setperf handlers don't override each other. Problem reported and tested by danh@. ok tedu@ deraadt@ | |||
2004-02-15 | add sysctl_int_arr() API similar to BSD/OS; ok itojun, deraadt, miod, henning | Markus Friedl | |
2004-02-15 | new arg to disk_unbusy, to record separate read/write statistics. | Ted Unangst | |
looked at by various, testing henning@ mcbride@ dan weeks mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br> | |||
2004-02-14 | Simplify hw.{cpuspeed,setperf} api moving all the sysctl stuff | Alexander Yurchenko | |
from the underlying callbacks. Testing hppa mickey@, ppc drahn@ Ok markus@ tedu@ | |||
2004-01-07 | Add p_rlim_rss_cur for ps "lim" field. OK deraadt@ | Todd C. Miller | |
2004-01-07 | no kern_watchdog for SMALL_KERNEL; ok deraadt@ | Markus Friedl | |
2004-01-07 | Unbreak KERN_PROC_KTHREAD. Explicitly list KERN_PROC_KTHREAD in | Todd C. Miller | |
the sysctl_doproc() switch so it does not match the default case (EINVAL). deraadt@ OK. | |||
2004-01-07 | Add p_emul to kinfo_proc2 for ps | Todd C. Miller | |
2004-01-07 | Implement KERN_PROC2 sysctl from NetBSD. This will allow us to | Todd C. Miller | |
have ps and friends be independent of changes in struct proc et al in the kernel. OK deraadt@ | |||
2003-12-18 | add new hw sysctls, cpuspeed and setperf to control cpu frequency. | Ted Unangst | |
convert longrun support to use new sysctls. add enhanced speedstep support, based on code by Michael Eriksson. idea, help testing & ok deraadt@ | |||
2003-11-23 | Check correct array index KERN_VNODE; from Alistair Kerr | Todd C. Miller | |
Closes PR 3571 as per on icb. | |||
2003-10-26 | per deraadt@ request, don't permit insanely large stackgap values. | Ted Unangst | |
2003-10-24 | refactor stackgap sysctl. prompted by a bug report from Michael Coulter. | Ted Unangst | |
ok deraadt@ markus@ | |||
2003-08-23 | remove native emulations from emulsw. you can't change them and probably | Ted Unangst | |
aren't interested, so keep them out of the sysctl. ok deraadt | |||
2003-08-23 | knf | Theo de Raadt | |
2003-08-23 | allow disabling a emul after enabling it; tedu@ ok. | Federico G. Schwindt | |
2003-08-21 | emulation is now controlled by sysctl. changes: | Ted Unangst | |
add e_flags to struct emul. this stores on/off and native flags. check for emul enabled in check_exec(). gather all the emuls into a emulsw so a sysctl can find them. create sysctl. move maxhdrsiz calcualation into init_main so it cleans up sys_execve codepath. teach sysctl utility to grok kern.emul hierarchy. requested and ok deraadt@ some comments from mickey@ | |||
2003-08-15 | change arguments to suser. suser now takes the process, and a flags | Ted Unangst | |
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@ | |||
2003-08-06 | Remove some double semicolons (hmm, do two semis equal a maxi?). | Todd C. Miller | |
I've skipped the GNU stuff for now. From Patrick Latifi. | |||
2003-06-10 | debug0 and debug1 are defined elsewhere -- make 'em extern here | Michael Shalayeff | |
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-03 | string fixes; tedu ok | Theo de Raadt | |
2003-04-25 | sysctl front-end for the hardware monitoring sensors. This adds | Alexander Yurchenko | |
new node hw.sensors; information from the sensors can be obtained via hw.sensors.n, where n is a sensor number. All values are read only for now. Documentation and back-end drivers are comming. Tested by henning@ and millert@. Four oks from henning@ and one from millert@. | |||
2003-01-21 | add kern.watchdog sysctl and generic watchdog interface; | Markus Friedl | |
based on feedback and discussions with mickey, henric, fgsch and jakob. ok art@, mickey@, jakob@, henric@ | |||
2003-01-15 | Fix two minor nits; deraadt@ OK | Todd C. Miller | |
o Avoid taking the address of an array when we just want a pointer o Use &array[1] not array + 1 | |||
2003-01-13 | Sysctls for fetching intrcnt. | Artur Grabowski | |
2002-12-17 | Make SysV-style shared memory and semaphore limits sysctl'able. | Todd C. Miller | |
Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable). The data structures used still leave something to be desired but things are not made worse in that respect by this commit. | |||
2002-09-01 | Oppsie. Remove my debugging code. | Artur Grabowski | |
noted by tdeval@ | |||
2002-08-23 | Use LIST_ macros for the list of all struct file. | Artur Grabowski | |
2002-07-06 | Remove kernel support for NTP. ok deraadt@ and tholo@ | Thomas Nordin | |
2002-06-24 | Redo the logic of reading of proc arguments to be more readable. | Artur Grabowski | |
kjell@ says that it fixes his problems, noone else responded. | |||
2002-06-11 | kernel changes to make asymmetric crypto work in userland | Bob Beck | |
- 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 | |||
2002-06-09 | add struct pstats to struct eproc | Artur Grabowski | |
2002-06-09 | KERN_MBSTAT | Angelos D. Keromytis | |
2002-06-08 | TTYCOUNT and NUMVNODES. | Angelos D. Keromytis | |
2002-06-08 | Add read-only KERN_NFILES (number of open files). | Angelos D. Keromytis | |
2002-06-08 | Sysctl for getting process arguments and environment. | Artur Grabowski | |
2002-05-15 | Implement splassert() for sparc - a tool for finding problems related to | Artur Grabowski | |
spl handling (already found 3 problems). Man page in a few seconds. deraadt@ ok. | |||
2002-03-14 | remove ambiguity in version,ostype,osversion,osrelease and their constanity, ↵ | Michael Shalayeff | |
they are and declarre 'em accordingly also removing private externies of those | |||
2002-03-14 | version[] is externed in the systm.h and give it some const | Michael Shalayeff | |
2002-03-01 | sysctl for cryptodevallowsoft - /dev/crypto will allow the software engine | Niels Provos | |
to be used if there are no hardware cards. mostly for debugging and regression. | |||
2002-02-23 | sysctl kern.usercrypto | Theo de Raadt | |
2001-11-28 | Sync in more uvm changes from NetBSD. | Artur Grabowski | |
This time we're getting rid of KERN_* and VM_PAGER_* error codes and use errnos instead. | |||
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
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 | |