Dima Dorfman 0c1bb4fbf1 Implement a LOCAL_PEERCRED socket option which returns a
`struct xucred` with the credentials of the connected peer.
Obviously this only works (and makes sense) on SOCK_STREAM
sockets.  This works for both the connect(2) and listen(2)
callers.

There is precise documentation of the semantics in unix(4).

Reviewed by:	dwmalone (eyeballed)
2001-08-17 22:01:18 +00:00
..
2001-08-17 16:54:09 +00:00
2001-08-15 03:38:49 +00:00
2001-07-22 19:55:05 +00:00
2001-08-16 17:17:54 +00:00
2001-06-14 11:05:01 +00:00
2001-08-16 10:13:34 +00:00