CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/06/30 13:57:05
Modified files:
lib/libc/sys : getsockopt.2
sys/sys : socket.h unpcb.h
sys/kern : kern_sysctl.c uipc_socket.c uipc_syscalls.c
uipc_usrreq.c
Log message:
Add getsockopt SOL_SOCKET SO_PEERCRED support. This behaves similar to
getpeereid(2), but also supplies the remote pid. This is supplied in
a 'struct sockpeercred' (unlike Linux -- they showed how little they
know about real unix by calling theirs 'struct ucred').
ok guenther ajacoutot