Searched refs:scm_cookie (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/include/net/ |
A D | scm.h | 31 struct scm_cookie { struct 40 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm); argument 41 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm); 42 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm); 43 void __scm_destroy(struct scm_cookie *scm); 47 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() 56 static __inline__ void scm_set_cred(struct scm_cookie *scm, in scm_set_cred() 65 static __inline__ void scm_destroy_cred(struct scm_cookie *scm) in scm_destroy_cred() 71 static __inline__ void scm_destroy(struct scm_cookie *scm) in scm_destroy() 79 struct scm_cookie *scm, bool forcecreds) in scm_send() [all …]
|
/linux-6.3-rc2/net/unix/ |
A D | scm.h | 7 int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb); 8 void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb);
|
A D | scm.c | 106 int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_attach_fds() 128 void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_detach_fds() 142 struct scm_cookie scm; in unix_destruct_scm()
|
A D | af_unix.c | 188 static void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata() 198 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq() 1755 static void unix_peek_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_peek_fds() 1842 static int maybe_init_creds(struct scm_cookie *scm, in maybe_init_creds() 1861 struct scm_cookie *scm) in unix_skb_scm_eq() 1897 struct scm_cookie scm; in unix_dgram_sendmsg() 2109 struct scm_cookie *scm, bool fds_sent) in queue_oob() 2168 struct scm_cookie scm; in unix_stream_sendmsg() 2281 struct scm_cookie scm; in unix_stream_sendpage() 2434 struct scm_cookie scm; in __unix_dgram_recvmsg() [all …]
|
/linux-6.3-rc2/net/core/ |
A D | scm.c | 116 void __scm_destroy(struct scm_cookie *scm) in __scm_destroy() 131 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) in __scm_send() 299 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds()
|
/linux-6.3-rc2/Documentation/security/ |
A D | lsm.rst | 93 :c:type:`struct scm_cookie <scm_cookie>`.
|
/linux-6.3-rc2/net/ |
A D | compat.c | 289 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds_compat()
|
/linux-6.3-rc2/net/netlink/ |
A D | af_netlink.c | 1869 struct scm_cookie scm; in netlink_sendmsg() 1952 struct scm_cookie scm; in netlink_recvmsg()
|
Completed in 17 milliseconds