Home
last modified time | relevance | path

Searched refs:scm_cookie (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-6.6/include/net/
H A Dscm.h32 struct scm_cookie { struct
41 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm);
42 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
43 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
44 void __scm_destroy(struct scm_cookie *scm);
48 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
53 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
57 static __inline__ void scm_set_cred(struct scm_cookie *scm, in scm_set_cred()
66 static __inline__ void scm_destroy_cred(struct scm_cookie *scm) in scm_destroy_cred()
72 static __inline__ void scm_destroy(struct scm_cookie *sc
[all...]
/kernel/linux/linux-5.10/include/net/
H A Dscm.h31 struct scm_cookie { struct
40 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm);
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()
52 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 *sc
[all...]
/kernel/linux/linux-5.10/net/unix/
H A Dscm.h7 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);
H A Dscm.c106 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()
H A Daf_unix.c139 static void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata()
144 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata()
149 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq()
154 static inline void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata()
157 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata()
160 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq()
1544 static void unix_peek_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_peek_fds()
1591 static int unix_scm_to_skb(struct scm_cookie *scm, struct sk_buff *skb, bool send_fds) in unix_scm_to_skb()
1631 static int maybe_init_creds(struct scm_cookie *scm, in maybe_init_creds()
1650 struct scm_cookie *sc in unix_skb_scm_eq()
[all...]
/kernel/linux/linux-6.6/net/unix/
H A Dscm.h7 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);
H A Dscm.c105 int unix_attach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_attach_fds()
127 void unix_detach_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_detach_fds()
141 struct scm_cookie scm; in unix_destruct_scm()
H A Daf_unix.c188 static void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata()
193 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata()
198 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq()
203 static inline void unix_get_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_get_secdata()
206 static inline void unix_set_secdata(struct scm_cookie *scm, struct sk_buff *skb) in unix_set_secdata()
209 static inline bool unix_secdata_eq(struct scm_cookie *scm, struct sk_buff *skb) in unix_secdata_eq()
1775 static void unix_peek_fds(struct scm_cookie *scm, struct sk_buff *skb) in unix_peek_fds()
1822 static int unix_scm_to_skb(struct scm_cookie *scm, struct sk_buff *skb, bool send_fds) in unix_scm_to_skb()
1865 struct scm_cookie *scm) in unix_skb_scm_eq()
1901 struct scm_cookie sc in unix_dgram_sendmsg()
[all...]
/kernel/linux/linux-5.10/net/core/
H A Dscm.c122 void __scm_destroy(struct scm_cookie *scm) in __scm_destroy()
137 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) in __scm_send()
296 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds()
/kernel/linux/linux-6.6/net/core/
H A Dscm.c122 void __scm_destroy(struct scm_cookie *scm) in __scm_destroy()
137 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) in __scm_send()
309 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds()
/kernel/linux/linux-5.10/net/
H A Dcompat.c291 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds_compat()
/kernel/linux/linux-6.6/net/
H A Dcompat.c290 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds_compat()
/kernel/linux/linux-5.10/net/netlink/
H A Daf_netlink.c1843 struct scm_cookie scm; in netlink_sendmsg()
1926 struct scm_cookie scm; in netlink_recvmsg()
/kernel/linux/linux-6.6/net/netlink/
H A Daf_netlink.c1837 struct scm_cookie scm; in netlink_sendmsg()
1920 struct scm_cookie scm; in netlink_recvmsg()
/kernel/linux/linux-6.6/net/bluetooth/
H A Dhci_sock.c1555 struct scm_cookie scm; in hci_sock_recvmsg()

Completed in 20 milliseconds