ucred            1565 lib/common/ipc_client.c         struct ucred ucred;
ucred            1566 lib/common/ipc_client.c         socklen_t ucred_len = sizeof(ucred);
ucred            1568 lib/common/ipc_client.c         if (getsockopt(sock, SOL_SOCKET, SO_PEERCRED, &ucred, &ucred_len) < 0) {
ucred            1570 lib/common/ipc_client.c         } else if (ucred_len != sizeof(ucred)) {
ucred            1573 lib/common/ipc_client.c             found_pid = ucred.pid;
ucred            1574 lib/common/ipc_client.c             found_uid = ucred.uid;
ucred            1575 lib/common/ipc_client.c             found_gid = ucred.gid;
ucred            1611 lib/common/ipc_client.c         ucred_t *ucred = NULL;
ucred            1613 lib/common/ipc_client.c         if (getpeerucred(sock, &ucred) < 0) {
ucred            1616 lib/common/ipc_client.c             found_pid = ucred_getpid(ucred);
ucred            1617 lib/common/ipc_client.c             found_uid = ucred_geteuid(ucred);
ucred            1618 lib/common/ipc_client.c             found_gid = ucred_getegid(ucred);
ucred            1619 lib/common/ipc_client.c             ucred_free(ucred);