Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/security/selinux/
Dnetlabel.c70 struct sk_security_struct *sksec = sk->sk_security; in selinux_netlbl_sock_genattr()
103 struct sk_security_struct *sksec = sk->sk_security; in selinux_netlbl_sock_getattr()
238 struct sk_security_struct *sksec = sk->sk_security; in selinux_netlbl_skbuff_setsid()
276 struct sk_security_struct *sksec = ep->base.sk->sk_security; in selinux_netlbl_sctp_assoc_request()
355 struct sk_security_struct *sksec = sk->sk_security; in selinux_netlbl_inet_csk_clone()
373 struct sk_security_struct *sksec = sk->sk_security; in selinux_netlbl_sctp_sk_clone()
374 struct sk_security_struct *newsksec = newsk->sk_security; in selinux_netlbl_sctp_sk_clone()
392 struct sk_security_struct *sksec = sk->sk_security; in selinux_netlbl_socket_post_create()
507 struct sk_security_struct *sksec = sk->sk_security; in selinux_netlbl_socket_setsockopt()
545 struct sk_security_struct *sksec = sk->sk_security; in selinux_netlbl_socket_connect_helper()
[all …]
Dhooks.c4498 struct sk_security_struct *sksec = sk->sk_security; in sock_has_perm()
4555 sksec = sock->sk->sk_security; in selinux_socket_post_create()
4571 struct sk_security_struct *sksec_a = socka->sk->sk_security; in selinux_socket_socketpair()
4572 struct sk_security_struct *sksec_b = sockb->sk->sk_security; in selinux_socket_socketpair()
4587 struct sk_security_struct *sksec = sk->sk_security; in selinux_socket_bind()
4722 struct sk_security_struct *sksec = sk->sk_security; in selinux_socket_connect_helper()
4901 struct sk_security_struct *sksec_sock = sock->sk_security; in selinux_socket_unix_stream_connect()
4902 struct sk_security_struct *sksec_other = other->sk_security; in selinux_socket_unix_stream_connect()
4903 struct sk_security_struct *sksec_new = newsk->sk_security; in selinux_socket_unix_stream_connect()
4935 struct sk_security_struct *ssec = sock->sk->sk_security; in selinux_socket_unix_may_send()
[all …]
/kernel/linux/linux-5.10/security/smack/
Dsmack_netfilter.c31 if (sk && sk->sk_security) { in smack_ipv6_output()
32 ssp = sk->sk_security; in smack_ipv6_output()
49 if (sk && sk->sk_security) { in smack_ipv4_output()
50 ssp = sk->sk_security; in smack_ipv4_output()
Dsmack_lsm.c1447 ssp = sock->sk->sk_security; in smack_inode_getsecurity()
1829 ssp = sock->sk->sk_security; in smack_file_receive()
2254 sk->sk_security = ssp; in smack_sk_alloc_security()
2281 kfree(sk->sk_security); in smack_sk_free_security()
2395 struct socket_smack *ssp = sk->sk_security; in smack_netlbl_add()
2427 struct socket_smack *ssp = sk->sk_security; in smack_netlbl_delete()
2459 struct socket_smack *ssp = sk->sk_security; in smk_ipv4_check()
2532 struct socket_smack *ssp = sock->sk->sk_security; in smk_ipv6_port_label()
2621 struct socket_smack *ssp = sk->sk_security; in smk_ipv6_port_check()
2714 ssp = sock->sk->sk_security; in smack_inode_setsecurity()
[all …]
/kernel/linux/linux-5.10/security/apparmor/include/
Dnet.h54 #define SK_CTX(X) ((X)->sk_security)
/kernel/linux/linux-5.10/net/core/
Dsock.c1664 void *sptr = nsk->sk_security; in sock_copy()
1672 nsk->sk_security = sptr; in sock_copy()
/kernel/linux/linux-5.10/include/net/
Dsock.h509 void *sk_security; member