Searched refs:ucred (Results 1 – 6 of 6) sorted by relevance
45 static __inline__ int scm_check_creds(struct ucred *creds) in scm_check_creds()164 struct ucred creds; in __scm_send()167 if (cmsg->cmsg_len != CMSG_LEN(sizeof(struct ucred))) in __scm_send()169 memcpy(&creds, CMSG_DATA(cmsg), sizeof(struct ucred)); in __scm_send()
1559 struct ucred *ucred) in cred_to_ucred() argument1561 ucred->pid = pid_vnr(pid); in cred_to_ucred()1562 ucred->uid = ucred->gid = -1; in cred_to_ucred()1566 ucred->uid = from_kuid_munged(current_ns, cred->euid); in cred_to_ucred()1567 ucred->gid = from_kgid_munged(current_ns, cred->egid); in cred_to_ucred()1733 struct ucred peercred; in sk_getsockopt()
125 struct ucred ucreds = { in scm_recv()
86 char control[CMSG_SPACE(sizeof(struct ucred))]; in uevent_listener()
178 struct ucred { struct