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-06-10 18:57:27 +00:00
2001-07-15 08:21:37 +00:00
2001-07-22 00:12:23 +00:00
2001-06-10 22:13:29 +00:00
2001-06-10 19:47:57 +00:00
2001-06-17 03:10:38 +00:00
1999-08-28 00:22:10 +00:00
2001-08-15 03:25:57 +00:00
2001-06-10 19:16:43 +00:00
1999-08-28 00:22:10 +00:00