Searched refs:scm_cookie (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/include/net/ |
D | scm.h | 44 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/ |
D | scm.c | 133 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/ |
D | af_unix.c | 262 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/ |
D | lsm.rst | 93 :c:type:`struct scm_cookie <scm_cookie>`.
|
/linux-6.12.1/net/ |
D | compat.c | 290 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds_compat()
|
/linux-6.12.1/net/netlink/ |
D | af_netlink.c | 1813 struct scm_cookie scm; in netlink_sendmsg() 1896 struct scm_cookie scm; in netlink_recvmsg()
|
/linux-6.12.1/net/bluetooth/ |
D | hci_sock.c | 1552 struct scm_cookie scm; in hci_sock_recvmsg()
|