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.c4533 static int sock_has_perm(struct sock *sk, u32 perms) in sock_has_perm()
4623 struct sock *sk = sock->sk; in selinux_socket_bind() local
4765 struct sock *sk = sock->sk; in selinux_socket_connect_helper() local
4857 struct sock *sk = sock->sk; in selinux_socket_connect() local
5018 static int selinux_sock_rcv_skb_compat(struct sock *sk, struct sk_buff *skb, in selinux_sock_rcv_skb_compat()
5052 static int selinux_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in selinux_socket_sock_rcv_skb()
5187 static int selinux_sk_alloc_security(struct sock *sk, int family, gfp_t priority) in selinux_sk_alloc_security()
5204 static void selinux_sk_free_security(struct sock *sk) in selinux_sk_free_security()
5213 static void selinux_sk_clone_security(const struct sock *sk, struct sock *newsk) in selinux_sk_clone_security()
5225 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()
1031 static int apparmor_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in apparmor_socket_sock_rcv_skb()
1044 static struct aa_label *sk_peer_label(struct sock *sk) in sk_peer_label()
1128 static void apparmor_sock_graft(struct sock *sk, struct socket *parent) in apparmor_sock_graft()
1137 static int apparmor_inet_conn_request(struct sock *sk, struct sk_buff *skb, in apparmor_inet_conn_request()
1623 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.c2274 static int smack_sk_alloc_security(struct sock *sk, int family, gfp_t gfp_flags) in smack_sk_alloc_security()
2306 static void smack_sk_free_security(struct sock *sk) in smack_sk_free_security()
2436 static int smack_netlabel(struct sock *sk, int labeled) in smack_netlabel()
2478 static int smack_netlabel_send(struct sock *sk, struct sockaddr_in *sap) in smack_netlabel_send()
2556 struct sock *sk = sock->sk; in smk_ipv6_port_label() local
2643 static int smk_ipv6_port_check(struct sock *sk, struct sockaddr_in6 *address, in smk_ipv6_port_check()
3873 static int smack_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in smack_socket_sock_rcv_skb()
4089 static void smack_sock_graft(struct sock *sk, struct socket *parent) in smack_sock_graft()
4113 static int smack_inet_conn_request(struct sock *sk, struct sk_buff *skb, in smack_inet_conn_request()
4214 static void smack_inet_csk_clone(struct sock *sk, in smack_inet_csk_clone()
Dsmack.h484 struct sock *sk) in smk_ad_setfield_u_net_sk()
516 struct sock *sk) in smk_ad_setfield_u_net_sk()
/security/
Dsecurity.c1935 int security_netlink_send(struct sock *sk, struct sk_buff *skb) in security_netlink_send()
2078 int security_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in security_sock_rcv_skb()
2098 int security_sk_alloc(struct sock *sk, int family, gfp_t priority) in security_sk_alloc()
2103 void security_sk_free(struct sock *sk) in security_sk_free()
2108 void security_sk_clone(const struct sock *sk, struct sock *newsk) in security_sk_clone()
2114 void security_sk_classify_flow(struct sock *sk, struct flowi *fl) in security_sk_classify_flow()
2126 void security_sock_graft(struct sock *sk, struct socket *parent) in security_sock_graft()
2132 int security_inet_conn_request(struct sock *sk, in security_inet_conn_request()
2145 void security_inet_conn_established(struct sock *sk, in security_inet_conn_established()
2194 int security_tun_dev_attach(struct sock *sk, void *security) in security_tun_dev_attach()
[all …]
Dlsm_audit.c322 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()