OpenGrok
Cross Reference: getpeereid.c
xref
: /
src
/
lib
/
libc
/
net
/
getpeereid.c
Home
|
History
|
Annotate
|
Download
|
only in
net
History log of
/src/lib/libc/net/getpeereid.c
Revision
Date
Author
Comments
1.4
08-Aug-2021
nia
introduce a SOL_LOCAL for unix-domain socket level socket options
as an alias of the current 0 used for these options, as in FreeBSD.
reviewed by many.
1.3
16-Feb-2018
christos
Enforce that getpeereid only returns success on AF_LOCAL sockets, instead
of returning garbage for other socket types.
1.2
29-Apr-2008
martin
branches: 1.2.8;
Convert to new 2 clause license
1.1
09-Aug-2007
he
branches: 1.1.8;
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.
1.1.8.1
18-May-2008
yamt
sync with head.
1.2.8.2
29-Apr-2008
martin
Convert to new 2 clause license
1.2.8.1
29-Apr-2008
martin
file getpeereid.c was added on branch christos-time_t on 2008-04-29 06:53:02 +0000
Indexes created Wed Oct 01 12:09:54 GMT 2025