Home
last modified time | relevance | path

Searched refs:scm_cookie (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/include/net/
H A Dscm.h44 struct scm_cookie { struct
53 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm); argument
54 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
56 void __scm_destroy(struct scm_cookie *scm);
69 static __inline__ void scm_set_cred(struct scm_cookie *scm, in scm_set_cred()
78 static __inline__ void scm_destroy_cred(struct scm_cookie *scm) in scm_destroy_cred()
84 static __inline__ void scm_destroy(struct scm_cookie *scm) in scm_destroy()
92 struct scm_cookie *scm, bool forcecreds) in scm_send()
173 struct scm_cookie *scm, int flags) in __scm_recv_common()
203 struct scm_cookie *scm, int flags) in scm_recv()
[all …]
/linux-6.15/Documentation/translations/zh_CN/security/
H A Dlsm.rst72 `struct sk_buff <sk_buff>` 和 :c:type: `struct scm_cookie <scm_cookie>` 中。
/linux-6.15/net/core/
H A Dscm.c133 void __scm_destroy(struct scm_cookie *scm) in __scm_destroy()
148 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) in __scm_send()
330 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds()
/linux-6.15/net/unix/
H A Daf_unix.c253 static void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata()
1830 static int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_attach_fds()
1844 static void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_detach_fds()
1852 static void unix_peek_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_peek_fds()
1859 struct scm_cookie scm; in unix_destruct_scm()
1915 struct scm_cookie *scm) in unix_skb_scm_eq()
1954 struct scm_cookie scm; in unix_dgram_sendmsg()
2179 struct scm_cookie *scm, bool fds_sent) in queue_oob()
2234 struct scm_cookie scm; in unix_stream_sendmsg()
2402 struct scm_cookie scm; in __unix_dgram_recvmsg()
[all …]
/linux-6.15/Documentation/security/
H A Dlsm.rst93 :c:type:`struct scm_cookie <scm_cookie>`.
/linux-6.15/net/
H A Dcompat.c290 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds_compat()
/linux-6.15/net/netlink/
H A Daf_netlink.c1810 struct scm_cookie scm; in netlink_sendmsg()
1893 struct scm_cookie scm; in netlink_recvmsg()
/linux-6.15/net/bluetooth/
H A Dhci_sock.c1552 struct scm_cookie scm; in hci_sock_recvmsg()