NetBSD/lib/libc/net
he fd961c4429 Add a new socket option for unix domain sockets: LOCAL_PEEREID, to make
it possible to get the pid, euid and egid of the process at the remote
end at the time it did bind() or connect().

Add a new libc function, getpeereid() to easily get at the euid and egid.
As a consequence, bump libc's minor number.

Document the LOCAL_PEEREID socket option in unix(4).

Based on contribution by Arne H. Juul, minor modifications by myself.
2007-08-09 15:23:01 +00:00
..
base64.c
byteorder.3
ethers.3
ethers.c
gai_strerror.3
getaddrinfo.3
getaddrinfo.c
gethnamaddr.c
gethostbyname.3
getifaddrs.3
getifaddrs.c
getnameinfo.3
getnameinfo.c
getnetent.3
getnetent.c
getnetnamadr.c
getpeereid.3
getpeereid.c
getprotobyname_r.c
getprotobyname.c
getprotobynumber_r.c
getprotobynumber.c
getprotoent_r.c
getprotoent.3
getprotoent.c
getservbyname_r.c
getservbyname.c
getservbyport_r.c
getservbyport.c
getservent_r.c
getservent.3
getservent.c
hesiod.3
hesiod.c
if_indextoname.3
if_indextoname.c
if_nameindex.c
if_nametoindex.c
inet6_opt_init.3
inet6_option_space.3
inet6_rth_space.3
inet6_rthdr_space.3
ip6opt.c
iso_addr.3
iso_addr.c
linkaddr.3
linkaddr.c
Lint_htonl.c
Lint_htons.c
Lint_ntohl.c
Lint_ntohs.c
Makefile.inc
nsdispatch.3
nsdispatch.c
nslexer.l
nsparser.y
protoent.h
rcmd.3
rcmd.c
recv.c
resolver.3
rthdr.c
send.c
servent.h
sethostent.c
sockatmark.3
sockatmark.c
vars6.c