freebsd-nq/lib
Robert Watson ae3a37ad44 Adapt libkvm_getswapinfo() to make use of recently committed vm and swap
sysctls exporting swap information.  When running on a live kernel,
the sysctl's will now be used instead of kvm_read, allowing consumers of
this interface to run without privilege (setgid kmem).  Retain the
ability to run on coredumps, or on a kernel using kmem if explicitly
pointed at one.

A side effect of this change is that kvm_getswapinfo() is faster now in
the general case. If the SWIF_DUMP_TREE flag is given (pstat -ss does
this), the radix tree walker, which still uses kvm_read in any case, is
invoked, and therefore does require privilege.

Submitted by:	Thomas Moestl <tmoestl@gmx.net>
Reviewed by:	freebsd-audit
2001-02-23 18:49:16 +00:00
..
compat Only build the compat libs appropiate for the target machine. 2001-02-14 20:49:54 +00:00
csu
libalias Add a few ``const''s to silence some -Wwrite-strings warnings 2001-01-29 11:44:13 +00:00
libatm
libbind
libc Correctly handle the race itself, too (don't leave it locked). 2001-02-23 17:55:01 +00:00
libc_r Remove (int) file descriptor locking. It should be up to the 2001-02-11 22:07:32 +00:00
libcalendar
libcam
libcom_err
libcompat mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
libcrypt
libdevstat mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
libdisk Fixed bitrot in prototype(s) in synopsis. 2001-02-05 23:56:05 +00:00
libedit mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
libfetch
libform
libftpio Fixed wrong return type for ftpLoginAf() in synopsis. 2001-02-05 23:58:59 +00:00
libgnumalloc
libio
libipsec mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
libipx Correct comment typos 2001-02-20 10:23:10 +00:00
libisc Add list.h to the to be installed header files. 2001-02-06 22:27:16 +00:00
libkse Remove (int) file descriptor locking. It should be up to the 2001-02-11 22:07:32 +00:00
libkvm Adapt libkvm_getswapinfo() to make use of recently committed vm and swap 2001-02-23 18:49:16 +00:00
libm mdoc(7) police: Change -filled displays (which just happen 2001-02-07 13:45:30 +00:00
libmd
libmenu
libncp
libncurses
libnetgraph
libopie
libpam
libpanel
libpcap
libposix1e Fix typo: seperate -> separate. 2001-02-06 10:39:38 +00:00
libpthread Remove (int) file descriptor locking. It should be up to the 2001-02-11 22:07:32 +00:00
libradius
libresolv
librpcsvc
libskey
libsmdb
libsmutil
libss
libstand Prepare for mdoc(7)NG. 2001-02-22 15:03:09 +00:00
libtacplus
libtelnet
libusb Fixed prototypes. About half of them were wrong (mainly due to const 2001-02-06 01:02:59 +00:00
libusbhid Fixed prototypes. About half of them were wrong (mainly due to const 2001-02-06 01:02:59 +00:00
libutil Fix typo: seperate -> separate. 2001-02-06 10:39:38 +00:00
libvgl Don't hardcode geometry of VESA_800x600 raster text mode (80x25). Instead save 2001-01-25 16:58:46 +00:00
libwrap
libxpg4
liby
libz Fix typo: compatability -> compatibility. 2001-02-06 12:05:58 +00:00
msun mdoc(7) police: Change -filled displays (which just happen 2001-02-07 13:45:30 +00:00
ncurses
Makefile There are now compat libs for the Alpha too. 2001-02-10 07:07:09 +00:00
Makefile.inc