Home
last modified time | relevance | path

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

/linux-6.12.1/include/net/
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);
55 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
56 void __scm_destroy(struct scm_cookie *scm);
60 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
65 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
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()
[all …]
/linux-6.12.1/net/core/
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()
320 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds()
/linux-6.12.1/net/unix/
Daf_unix.c262 static void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata()
267 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata()
272 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq()
277 static inline void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata()
280 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata()
283 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq()
1845 static int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_attach_fds()
1859 static void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_detach_fds()
1867 static void unix_peek_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_peek_fds()
1874 struct scm_cookie scm; in unix_destruct_scm()
[all …]
/linux-6.12.1/Documentation/security/
Dlsm.rst93 :c:type:`struct scm_cookie <scm_cookie>`.
/linux-6.12.1/net/
Dcompat.c290 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds_compat()
/linux-6.12.1/net/netlink/
Daf_netlink.c1813 struct scm_cookie scm; in netlink_sendmsg()
1896 struct scm_cookie scm; in netlink_recvmsg()
/linux-6.12.1/net/bluetooth/
Dhci_sock.c1552 struct scm_cookie scm; in hci_sock_recvmsg()