freebsd-skq/lib
Jamie Gritton b89e82dd87 Standardize the various prison_foo_ip[46] functions and prison_if to
return zero on success and an error code otherwise.  The possible errors
are EADDRNOTAVAIL if an address being checked for doesn't match the
prison, and EAFNOSUPPORT if the prison doesn't have any addresses in
that address family.  For most callers of these functions, use the
returned error code instead of e.g. a hard-coded EADDRNOTAVAIL or
EINVAL.

Always include a jailed() check in these functions, where a non-jailed
cred always returns success (and makes no changes).  Remove the explicit
jailed() checks that preceded many of the function calls.

Approved by:	bz (mentor)
2009-02-05 14:06:09 +00:00
..
bind Updates for version 9.4.3 2008-12-23 22:50:39 +00:00
csu
libalias
libarchive Permit ` as a pad character in the filename table. 2009-02-01 02:33:02 +00:00
libauditd Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both 2008-12-31 11:12:24 +00:00
libautofs
libbegemot
libbluetooth
libbsm Merge OpenBSM alpha 5 from OpenBSM vendor branch to head, both 2009-01-14 10:44:16 +00:00
libbsnmp
libbz2
libc Standardize the various prison_foo_ip[46] functions and prison_if to 2009-02-05 14:06:09 +00:00
libc_r
libcalendar
libcam Supply a valid Connect ID when issuing XPT_DEV_MATCH, which 2008-10-27 21:46:58 +00:00
libcom_err
libcompat
libcrypt
libdevinfo
libdevstat
libdisk
libdwarf
libedit
libelf Add a README. 2009-01-05 05:14:26 +00:00
libexpat
libfetch 1. Update fetch to consistently return 1 on error, as the man page states, 2008-12-17 18:00:18 +00:00
libftpio
libgeom
libgpib
libgssapi
libipsec
libipx
libkiconv
libkse
libkvm MFp4: 2008-11-29 14:32:14 +00:00
libmagic Don't make the MIME magic any longer. 2009-01-02 03:38:21 +00:00
libmd Remove reference to no longer existing document. 2009-01-09 11:45:13 +00:00
libmemstat
libmilter
libmp
libncp
libnetgraph
libngatm
libopie
libpam
libpcap
libpmc - Add support for nehalem/corei7 cpus. This supports all of the core 2009-01-27 07:29:37 +00:00
libproc Merge latest DTrace changes from Perforce. 2008-11-05 19:35:43 +00:00
libradius
librpcsec_gss Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
librpcsvc
librt
libsbuf
libsdp
libsm
libsmb
libsmdb
libsmutil
libstand put a prefix on dhcp options to avoid clobbering, even by mistake, 2009-01-05 23:25:35 +00:00
libtacplus
libtelnet
libthr When libthr and rtld start up, there are a number of magic spells cast 2008-12-07 02:32:49 +00:00
libthread_db Allow psaddr_t to be widened by using thr_pread_{int,long,ptr}, 2008-09-14 16:07:21 +00:00
libufs
libugidfw
libusb20 MFp4: //depot/projects/usb@156092 2009-01-13 19:06:02 +00:00
libusbhid src/usr.bin/usbhidaction/usbhidaction.c 2009-02-02 00:49:39 +00:00
libutil Include param.h instead of types.h when using user.h. Otherwise there is 2008-12-27 11:12:23 +00:00
libvgl
libwrap
liby
libypclnt
libz
msun Use __gnu89_inline so that these files will compile with newer versions 2009-01-13 05:13:20 +00:00
ncurses - Update ncurses to 5.7-20081102 (5.7 release) and build glue 2008-11-15 09:23:48 +00:00
Makefile Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both 2008-12-31 11:12:24 +00:00
Makefile.inc