Home
last modified time | relevance | path

Searched refs:creds (Results 1 – 2 of 2) sorted by relevance

/system/core/libsysutils/src/
DSocketClient.cpp34 struct ucred creds; in init() local
35 socklen_t szCreds = sizeof(creds); in init()
36 memset(&creds, 0, szCreds); in init()
38 int err = getsockopt(socket, SOL_SOCKET, SO_PEERCRED, &creds, &szCreds); in init()
40 mPid = creds.pid; in init()
41 mUid = creds.uid; in init()
42 mGid = creds.gid; in init()
/system/core/libnl_2/
Dnetlink.c58 unsigned char **buf, struct ucred **creds) in nl_recv() argument
108 struct ucred *creds; in nl_recvmsgs() local
120 rc = nl_recv(sk, &nla, &buf, &creds); in nl_recvmsgs()