Searched refs:scm_set_cred (Results 1 – 2 of 2) sorted by relevance
/linux/include/net/ |
H A D | scm.h | 69 static __inline__ void scm_set_cred(struct scm_cookie *scm, in scm_set_cred() function 98 scm_set_cred(scm, task_tgid(current), current_uid(), current_gid()); in scm_send()
|
/linux/net/unix/ |
H A D | af_unix.c | 2489 scm_set_cred(&scm, UNIXCB(skb).pid, UNIXCB(skb).uid, UNIXCB(skb).gid); in __unix_dgram_recvmsg() 2876 scm_set_cred(&scm, UNIXCB(skb).pid, UNIXCB(skb).uid, UNIXCB(skb).gid); in unix_stream_read_generic()
|