enami
1afed7103d
Cosmetic changes.
2001-01-27 11:08:23 +00:00
simonb
80bd9216d2
ANSIfy.
2000-11-30 23:59:03 +00:00
itojun
bbef2fbaac
errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsd
2000-07-07 15:10:32 +00:00
thorpej
13ba787e60
Use kern.cp_time to fetch cp_time[]. Don't support fetching it from
...
crash dumps yet, as that requires determining which CPU we should fetch
it from, etc.
2000-06-04 16:06:25 +00:00
thorpej
ae67003975
Need to include <sys/sched.h> to get cp_time-related constants.
2000-06-03 21:00:42 +00:00
perry
bfd526219d
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-10 02:57:23 +00:00
drochner
b2058e2f38
Fix handling of privileges - the gid was given up before dkinit()
...
was called.
Pass the gid to use for KVM access explicitely to dkinit(), the caller
decides whether to call setgid(getgid()) or not.
1998-07-19 17:47:07 +00:00
mrg
80efe80bc9
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
...
and the top, and then set the effective gid back to kmem around the call to
kvm_openfiles(). this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places
1998-07-06 07:50:18 +00:00
mrg
5dfbe405c5
KNF.
1998-07-05 08:02:34 +00:00
kleink
21a53ba722
Don't assume that an inclusion of <sys/time.h> makes visible all definitions
...
from <sys/types.h>.
1998-04-01 16:41:31 +00:00
thorpej
1eaf5ee379
New userland code to read the statistics kept by the NetBSD generic
...
disk framework, from John M. Vinopal <banshee@gabriella.resort.com>
1996-05-10 23:16:30 +00:00