Home
last modified time | relevance | path

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

/linux/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);
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/net/unix/
H A Daf_unix.c256 static void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata()
261 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata()
266 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq()
271 static inline void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata()
274 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata()
277 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq()
1941 static int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_attach_fds()
1955 static void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_detach_fds()
1963 static void unix_peek_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_peek_fds()
1970 struct scm_cookie scm; in unix_destruct_scm()
[all …]
/linux/Documentation/security/
H A Dlsm.rst93 :c:type:`struct scm_cookie <scm_cookie>`.
/linux/net/
H A Dcompat.c290 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds_compat()
/linux/net/bluetooth/
H A Dhci_sock.c1561 struct scm_cookie scm; in hci_sock_recvmsg()