peter
e2457b0273
Quick Fix: swap.c doesn't appear to actually need <sys/conf.h>, so remove
...
it to try and get world building again. (sys/conf.h now depends on
sys/types.h)
2000-08-24 20:22:44 +00:00
phk
b78772d544
Don't include <sys/buf.h>
2000-05-05 15:41:22 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
peter
280d1557df
Tidy up references to <sys/rlist.h> and support for the old swap management
...
that went away in January.
1999-05-11 14:32:18 +00:00
dillon
83476feade
Be nice when no swap is configured in system
1999-02-06 06:43:56 +00:00
dillon
bd29ffdcf6
Fix labeling bug
1999-01-22 10:57:50 +00:00
dillon
d5b5a4c793
Make systat -swap use new kvm_swapinfo() function
1999-01-22 10:53:13 +00:00
obrien
59bd962db0
Quiet many compiler warnings.
1998-10-08 09:56:10 +00:00
imp
a51cfac665
o Use snprintf rather than sprintf
...
o Add more checks for buffer overflows
o Use snprintf rather than strcat/cpy and have better checks for max
length exceeded.
Most of these changes are not exploitable buffer overruns, but it never
hurts to be safe.
Inspired by and obtained from: OpenBSD
1998-06-09 04:17:29 +00:00
bde
f7ce8e6d24
Merge from Lite2 (print "??" instead NULL if devname() fails). More
...
faithful stealing from pstat would have given this already.
1997-07-06 04:37:22 +00:00
joerg
1b4e8ea8fd
Fix the following old problem:
...
date: 1994/10/09 07:37:18; author: davidg; state: Exp; lines: +7 -1
#if 0'd out the meat of the swap code until I get a chance to rewrite it.
...mainly by stealing the code from pstat(8).
1997-01-12 19:38:32 +00:00
rgrimes
a14d555c87
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
dg
9666d1c886
#if 0'd out the meat of the swap code until I get a chance to rewrite it.
1994-10-09 07:37:18 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00