Age | Commit message (Collapse) | Author |
|
update cpu even with 100 -> 100 setperf changes, in case saved value
has gotten out of sync. from grange@ ok deraadt@ grange@
|
|
|
|
from form@pdp-11.org.ru via mpech. ok millert
|
|
an interrupt safe thread.
use this as the new backend for mbpool and mclpool, eliminating the mb_map.
introduce a sysctl kern.maxclusters which controls the limit of clusters
allocated.
testing by many people, works everywhere but m68k. ok deraadt@
this essentially deprecates the NMBCLUSTERS option, don't use it.
this should reduce pressure on the kmem_map and the uvm reserve of static
map entries.
|
|
separate exec format from emulation. consistent naming of freebsd emuls.
not much in the way of functional changes yet.
testing and ok deraadt@ and others along the way.
|
|
ok grange@
|
|
ok deraadt@
|
|
hw.setperf handlers don't override each other.
Problem reported and tested by danh@.
ok tedu@ deraadt@
|
|
|
|
looked at by various, testing henning@ mcbride@ dan weeks
mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br>
|
|
from the underlying callbacks.
Testing hppa mickey@, ppc drahn@
Ok markus@ tedu@
|
|
|
|
|
|
the sysctl_doproc() switch so it does not match the default case
(EINVAL). deraadt@ OK.
|
|
|
|
have ps and friends be independent of changes in struct proc et al
in the kernel. OK deraadt@
|
|
convert longrun support to use new sysctls.
add enhanced speedstep support, based on code by Michael Eriksson.
idea, help testing & ok deraadt@
|
|
Closes PR 3571 as per on icb.
|
|
|
|
ok deraadt@ markus@
|
|
aren't interested, so keep them out of the sysctl. ok deraadt
|
|
|
|
|
|
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@
|
|
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@
|
|
I've skipped the GNU stuff for now. From Patrick Latifi.
|
|
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
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@.
|
|
based on feedback and discussions with mickey, henric, fgsch and jakob.
ok art@, mickey@, jakob@, henric@
|
|
o Avoid taking the address of an array when we just want a pointer
o Use &array[1] not array + 1
|
|
|
|
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.
|
|
noted by tdeval@
|
|
|
|
|
|
kjell@ says that it fixes his problems, noone else responded.
|
|
- 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
|
|
|
|
|
|
|
|
|
|
|
|
spl handling (already found 3 problems).
Man page in a few seconds.
deraadt@ ok.
|
|
they are and declarre 'em accordingly also removing private externies of those
|
|
|
|
to be used if there are no hardware cards. mostly for debugging and
regression.
|
|
|
|
This time we're getting rid of KERN_* and VM_PAGER_* error codes and
use errnos instead.
|