diff options
author | dd <dd@FreeBSD.org> | 2001-08-17 22:01:18 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-08-17 22:01:18 +0000 |
commit | 5e416567e18401664948a984b8208f0d39a1f0fd (patch) | |
tree | a9fd833a0d5be8077a8bafc85a497fe0bae21cfa /sys/netatm | |
parent | 90eec3a264887cf9fc47c0654b2012231223b681 (diff) | |
download | FreeBSD-src-5e416567e18401664948a984b8208f0d39a1f0fd.zip FreeBSD-src-5e416567e18401664948a984b8208f0d39a1f0fd.tar.gz |
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)
Diffstat (limited to 'sys/netatm')
0 files changed, 0 insertions, 0 deletions