Home
last modified time | relevance | path

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

/linux-6.6.21/security/selinux/
Dnetlabel.c71 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()
243 struct sk_security_struct *sksec = sk->sk_security; in selinux_netlbl_skbuff_setsid()
280 struct sk_security_struct *sksec = asoc->base.sk->sk_security; in selinux_netlbl_sctp_assoc_request()
359 struct sk_security_struct *sksec = sk->sk_security; in selinux_netlbl_inet_csk_clone()
377 struct sk_security_struct *sksec = sk->sk_security; in selinux_netlbl_sctp_sk_clone()
378 struct sk_security_struct *newsksec = newsk->sk_security; in selinux_netlbl_sctp_sk_clone()
396 struct sk_security_struct *sksec = sk->sk_security; in selinux_netlbl_socket_post_create()
510 struct sk_security_struct *sksec = sk->sk_security; in selinux_netlbl_socket_setsockopt()
548 struct sk_security_struct *sksec = sk->sk_security; in selinux_netlbl_socket_connect_helper()
[all …]
Dhooks.c4570 struct sk_security_struct *sksec = sk->sk_security; in sock_has_perm()
4623 sksec = sock->sk->sk_security; in selinux_socket_post_create()
4639 struct sk_security_struct *sksec_a = socka->sk->sk_security; in selinux_socket_socketpair()
4640 struct sk_security_struct *sksec_b = sockb->sk->sk_security; in selinux_socket_socketpair()
4655 struct sk_security_struct *sksec = sk->sk_security; in selinux_socket_bind()
4795 struct sk_security_struct *sksec = sk->sk_security; in selinux_socket_connect_helper()
4973 struct sk_security_struct *sksec_sock = sock->sk_security; in selinux_socket_unix_stream_connect()
4974 struct sk_security_struct *sksec_other = other->sk_security; in selinux_socket_unix_stream_connect()
4975 struct sk_security_struct *sksec_new = newsk->sk_security; in selinux_socket_unix_stream_connect()
5004 struct sk_security_struct *ssec = sock->sk->sk_security; in selinux_socket_unix_may_send()
[all …]
/linux-6.6.21/security/smack/
Dsmack_netfilter.c29 if (sk && sk->sk_security) { in smack_ip_output()
30 ssp = sk->sk_security; in smack_ip_output()
Dsmack_lsm.c1574 ssp = sock->sk->sk_security; in smack_inode_getsecurity()
1962 ssp = sock->sk->sk_security; in smack_file_receive()
2400 sk->sk_security = ssp; in smack_sk_alloc_security()
2427 kfree(sk->sk_security); in smack_sk_free_security()
2439 struct socket_smack *ssp_old = sk->sk_security; in smack_sk_clone_security()
2440 struct socket_smack *ssp_new = newsk->sk_security; in smack_sk_clone_security()
2556 struct socket_smack *ssp = sk->sk_security; in smack_netlbl_add()
2588 struct socket_smack *ssp = sk->sk_security; in smack_netlbl_delete()
2620 struct socket_smack *ssp = sk->sk_security; in smk_ipv4_check()
2693 struct socket_smack *ssp = sock->sk->sk_security; in smk_ipv6_port_label()
[all …]
/linux-6.6.21/security/apparmor/include/
Dnet.h54 #define SK_CTX(X) ((X)->sk_security)
/linux-6.6.21/net/core/
Dsock.c2061 void *sptr = nsk->sk_security; in sock_copy()
2079 nsk->sk_security = sptr; in sock_copy()
/linux-6.6.21/include/net/
Dsock.h525 void *sk_security; member