Searched refs:creds (Results 1 – 1 of 1) sorted by relevance
55 struct ucred creds; in init() local56 socklen_t szCreds = sizeof(creds); in init()57 memset(&creds, 0, szCreds); in init()59 int err = getsockopt(socket, SOL_SOCKET, SO_PEERCRED, &creds, &szCreds); in init()61 mPid = creds.pid; in init()62 mUid = creds.uid; in init()63 mGid = creds.gid; in init()