Home
last modified time | relevance | path

Searched defs:sk (Results 1 – 12 of 12) sorted by relevance

/security/selinux/
Dnetlabel.c67 static struct netlbl_lsm_secattr *selinux_netlbl_sock_genattr(struct sock *sk) in selinux_netlbl_sock_genattr()
100 const struct sock *sk, in selinux_netlbl_sock_getattr()
232 struct sock *sk; in selinux_netlbl_skbuff_setsid() local
353 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone()
371 void selinux_netlbl_sctp_sk_clone(struct sock *sk, struct sock *newsk) in selinux_netlbl_sctp_sk_clone()
389 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family) in selinux_netlbl_socket_post_create()
506 struct sock *sk = sock->sk; in selinux_netlbl_socket_setsockopt() local
541 static int selinux_netlbl_socket_connect_helper(struct sock *sk, in selinux_netlbl_socket_connect_helper()
581 int selinux_netlbl_socket_connect_locked(struct sock *sk, in selinux_netlbl_socket_connect_locked()
603 int selinux_netlbl_socket_connect(struct sock *sk, struct sockaddr *addr) in selinux_netlbl_socket_connect()
Dhooks.c4472 static int sock_has_perm(struct sock *sk, u32 perms) in sock_has_perm()
4562 struct sock *sk = sock->sk; in selinux_socket_bind() local
4697 struct sock *sk = sock->sk; in selinux_socket_connect_helper() local
4789 struct sock *sk = sock->sk; in selinux_socket_connect() local
4950 static int selinux_sock_rcv_skb_compat(struct sock *sk, struct sk_buff *skb, in selinux_sock_rcv_skb_compat()
4984 static int selinux_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in selinux_socket_sock_rcv_skb()
5119 static int selinux_sk_alloc_security(struct sock *sk, int family, gfp_t priority) in selinux_sk_alloc_security()
5136 static void selinux_sk_free_security(struct sock *sk) in selinux_sk_free_security()
5145 static void selinux_sk_clone_security(const struct sock *sk, struct sock *newsk) in selinux_sk_clone_security()
5157 static void selinux_sk_getsecid(struct sock *sk, u32 *secid) in selinux_sk_getsecid()
[all …]
/security/selinux/include/
Dnetlabel.h101 static inline int selinux_netlbl_conn_setsid(struct sock *sk, in selinux_netlbl_conn_setsid()
117 static inline void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone()
121 static inline void selinux_netlbl_sctp_sk_clone(struct sock *sk, in selinux_netlbl_sctp_sk_clone()
126 static inline int selinux_netlbl_socket_post_create(struct sock *sk, in selinux_netlbl_socket_post_create()
144 static inline int selinux_netlbl_socket_connect(struct sock *sk, in selinux_netlbl_socket_connect()
149 static inline int selinux_netlbl_socket_connect_locked(struct sock *sk, in selinux_netlbl_socket_connect_locked()
/security/apparmor/
Dnet.c144 struct sock *sk) in aa_label_sk_perm()
162 int aa_sk_perm(const char *op, u32 request, struct sock *sk) in aa_sk_perm()
212 struct common_audit_data *sa, struct sock *sk) in aa_secmark_perm()
245 u32 secid, struct sock *sk) in apparmor_secmark_check()
Dlsm.c759 static int apparmor_sk_alloc_security(struct sock *sk, int family, gfp_t flags) in apparmor_sk_alloc_security()
775 static void apparmor_sk_free_security(struct sock *sk) in apparmor_sk_free_security()
788 static void apparmor_sk_clone_security(const struct sock *sk, in apparmor_sk_clone_security()
1026 static int apparmor_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in apparmor_socket_sock_rcv_skb()
1039 static struct aa_label *sk_peer_label(struct sock *sk) in sk_peer_label()
1123 static void apparmor_sock_graft(struct sock *sk, struct socket *parent) in apparmor_sock_graft()
1132 static int apparmor_inet_conn_request(struct sock *sk, struct sk_buff *skb, in apparmor_inet_conn_request()
1618 struct sock *sk; in apparmor_ip_postroute() local
/security/smack/
Dsmack_netfilter.c27 struct sock *sk = skb_to_full_sk(skb); in smack_ipv6_output() local
45 struct sock *sk = skb_to_full_sk(skb); in smack_ipv4_output() local
Dsmack_lsm.c2246 static int smack_sk_alloc_security(struct sock *sk, int family, gfp_t gfp_flags) in smack_sk_alloc_security()
2278 static void smack_sk_free_security(struct sock *sk) in smack_sk_free_security()
2410 static int smack_netlabel(struct sock *sk, int labeled) in smack_netlabel()
2452 static int smack_netlabel_send(struct sock *sk, struct sockaddr_in *sap) in smack_netlabel_send()
2532 struct sock *sk = sock->sk; in smk_ipv6_port_label() local
2618 static int smk_ipv6_port_check(struct sock *sk, struct sockaddr_in6 *address, in smk_ipv6_port_check()
3846 static int smack_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in smack_socket_sock_rcv_skb()
4062 static void smack_sock_graft(struct sock *sk, struct socket *parent) in smack_sock_graft()
4086 static int smack_inet_conn_request(struct sock *sk, struct sk_buff *skb, in smack_inet_conn_request()
4187 static void smack_inet_csk_clone(struct sock *sk, in smack_inet_csk_clone()
Dsmack.h489 struct sock *sk) in smk_ad_setfield_u_net_sk()
521 struct sock *sk) in smk_ad_setfield_u_net_sk()
/security/
Dsecurity.c1905 int security_netlink_send(struct sock *sk, struct sk_buff *skb) in security_netlink_send()
2048 int security_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in security_sock_rcv_skb()
2068 int security_sk_alloc(struct sock *sk, int family, gfp_t priority) in security_sk_alloc()
2073 void security_sk_free(struct sock *sk) in security_sk_free()
2078 void security_sk_clone(const struct sock *sk, struct sock *newsk) in security_sk_clone()
2084 void security_sk_classify_flow(struct sock *sk, struct flowi *fl) in security_sk_classify_flow()
2096 void security_sock_graft(struct sock *sk, struct socket *parent) in security_sock_graft()
2102 int security_inet_conn_request(struct sock *sk, in security_inet_conn_request()
2115 void security_inet_conn_established(struct sock *sk, in security_inet_conn_established()
2164 int security_tun_dev_attach(struct sock *sk, void *security) in security_tun_dev_attach()
[all …]
Dlsm_audit.c319 struct sock *sk = a->u.net->sk; in dump_common_audit_data() local
/security/apparmor/include/
Dnet.h99 struct sock *sk) in aa_profile_af_sk_perm()
/security/tomoyo/
Dnetwork.c626 static u8 tomoyo_sock_family(struct sock *sk) in tomoyo_sock_family()