Searched refs:ucred (Results 1 – 6 of 6) sorted by relevance
134 struct ucred *ucred = NULL; in cmsg_check() local136 char control[CMSG_SPACE(sizeof(struct ucred)) + in cmsg_check()175 if (cmsg->cmsg_len < sizeof(*ucred)) { in cmsg_check()180 ucred = (void *)CMSG_DATA(cmsg); in cmsg_check()195 if (!ucred) { in cmsg_check()299 struct ucred peer_cred; in client()
47 static __inline__ int scm_check_creds(struct ucred *creds) in scm_check_creds()182 struct ucred creds; in __scm_send()185 if (cmsg->cmsg_len != CMSG_LEN(sizeof(struct ucred))) in __scm_send()187 memcpy(&creds, CMSG_DATA(cmsg), sizeof(struct ucred)); in __scm_send()
1663 struct ucred *ucred) in cred_to_ucred() argument1665 ucred->pid = pid_vnr(pid); in cred_to_ucred()1666 ucred->uid = ucred->gid = -1; in cred_to_ucred()1670 ucred->uid = from_kuid_munged(current_ns, cred->euid); in cred_to_ucred()1671 ucred->gid = from_kgid_munged(current_ns, cred->egid); in cred_to_ucred()1850 struct ucred peercred; in sk_getsockopt()
86 char control[CMSG_SPACE(sizeof(struct ucred))]; in uevent_listener()
183 struct ucred { struct