Home
last modified time | relevance | path

Searched refs:ucred (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/net/core/
Dscm.c45 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()
Dsock.c1559 struct ucred *ucred) in cred_to_ucred() argument
1561 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()
/linux-6.1.9/include/net/
Dscm.h125 struct ucred ucreds = { in scm_recv()
/linux-6.1.9/tools/testing/selftests/uevent/
Duevent_filtering.c86 char control[CMSG_SPACE(sizeof(struct ucred))]; in uevent_listener()
/linux-6.1.9/tools/perf/trace/beauty/include/linux/
Dsocket.h178 struct ucred { struct
/linux-6.1.9/include/linux/
Dsocket.h178 struct ucred { struct