rwatson 67feac6f9a Implement mac_get_peer(3) using getsockopt() with SOL_SOCKET and
SO_PEERLABEL.  This provides an interface to query the label of a
socket peer without embedding implementation details of mac_t in
the application.  Previously, sizeof(*mac_t) had to be specified
by an application when performing getsockopt().

Document mac_get_peer(3), and expand documentation of the other
mac_get(3) functions.  Note that it's possible to get EINVAL back
from mac_get_fd(3) when pointing it at an inappropriate object.

NOTE: mac_get_fd() and mac_set_fd() support for sockets will
follow shortly, so the documentation is slightly ahead of the
code.

Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2003-11-16 20:18:24 +00:00
..
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2003-02-23 01:44:37 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2002-12-27 12:15:40 +00:00
2002-12-27 12:15:40 +00:00
2003-02-23 01:43:45 +00:00
2002-03-22 21:53:29 +00:00
2002-03-22 21:53:29 +00:00
2003-02-23 01:44:59 +00:00
2002-03-22 21:53:29 +00:00
2003-02-06 11:04:47 +00:00
2002-03-22 21:53:29 +00:00
2003-05-22 13:02:28 +00:00
2003-05-24 19:53:08 +00:00