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-07-06 08:10:59 +00:00
2001-08-07 15:48:51 +00:00
2001-08-07 15:48:51 +00:00
2001-08-07 15:48:51 +00:00
2001-08-07 13:18:09 +00:00
2001-08-08 08:40:40 +00:00
2001-06-11 12:39:29 +00:00
2001-08-07 15:48:51 +00:00
2001-08-07 15:48:51 +00:00
2001-08-07 15:48:51 +00:00
2001-08-07 15:48:51 +00:00
2001-08-07 15:48:51 +00:00
2001-08-07 15:48:51 +00:00
2000-12-29 09:18:45 +00:00
2001-08-08 21:00:54 +00:00
2001-08-07 15:48:51 +00:00
2001-07-13 20:11:43 +00:00
2001-08-08 08:40:40 +00:00
2001-08-07 15:48:51 +00:00
2001-08-07 15:48:51 +00:00
2001-08-07 15:48:51 +00:00
2001-04-18 15:54:10 +00:00
2001-08-17 12:26:00 +00:00
2001-08-07 15:48:51 +00:00
2001-08-17 06:42:31 +00:00