summaryrefslogtreecommitdiffstats
path: root/include/unistd.h
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-08-17 22:01:18 +0000
committerdd <dd@FreeBSD.org>2001-08-17 22:01:18 +0000
commit5e416567e18401664948a984b8208f0d39a1f0fd (patch)
treea9fd833a0d5be8077a8bafc85a497fe0bae21cfa /include/unistd.h
parent90eec3a264887cf9fc47c0654b2012231223b681 (diff)
downloadFreeBSD-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 'include/unistd.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud