Peter Wemm
540bc8d6e1
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
Poul-Henning Kamp
9df46d4a2a
Don't include <sys/buf.h>
2000-05-05 15:41:22 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Peter Wemm
bf0e1ee370
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
Matthew Dillon
300c6da23d
Be nice when no swap is configured in system
1999-02-06 06:43:56 +00:00
Matthew Dillon
4aa513f41d
Fix labeling bug
1999-01-22 10:57:50 +00:00
Matthew Dillon
e53c5e2053
Make systat -swap use new kvm_swapinfo() function
1999-01-22 10:53:13 +00:00
David E. O'Brien
d22889b821
Quiet many compiler warnings.
1998-10-08 09:56:10 +00:00
Warner Losh
448b84a0e4
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
Bruce Evans
a15f578988
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 Wunsch
6b5d41d069
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
Rodney W. Grimes
7799f52a32
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
David Greenman
82c4eab0a7
#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
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00