Home
last modified time | relevance | path

Searched refs:scm_cookie (Results 1 – 6 of 6) 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, bool notrunc); argument
54 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm, bool notrunc);
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/core/
H A Dscm.c135 void __scm_destroy(struct scm_cookie *scm) in __scm_destroy()
150 static inline int scm_replace_pid(struct scm_cookie *scm, struct pid *pid) in scm_replace_pid()
166 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) in __scm_send()
378 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm, bool notrunc) in scm_detach_fds()
457 static void scm_passec(struct sock *sk, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
479 static void scm_passec(struct sock *sk, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
489 static void scm_pidfd_recv(struct msghdr *msg, struct scm_cookie *scm) in scm_pidfd_recv()
526 struct scm_cookie *scm, int flags) in __scm_recv_common()
554 struct scm_cookie *scm, int flags) in scm_recv()
564 struct scm_cookie *scm, int flags) in scm_recv_unix()
/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()
1943 static int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_attach_fds()
1957 static void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_detach_fds()
1965 static void unix_peek_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_peek_fds()
1974 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.c289 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm, bool notrunc) in scm_detach_fds_compat()
/linux/net/netlink/
H A Daf_netlink.c1827 struct scm_cookie scm; in netlink_sendmsg()
1910 struct scm_cookie scm; in netlink_recvmsg()