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.c4681 static int sock_has_perm(struct sock *sk, u32 perms) in sock_has_perm()
4771 struct sock *sk = sock->sk; in selinux_socket_bind() local
4913 struct sock *sk = sock->sk; in selinux_socket_connect_helper() local
5005 struct sock *sk = sock->sk; in selinux_socket_connect() local
5166 static int selinux_sock_rcv_skb_compat(struct sock *sk, struct sk_buff *skb, in selinux_sock_rcv_skb_compat()
5200 static int selinux_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in selinux_socket_sock_rcv_skb()
5335 static int selinux_sk_alloc_security(struct sock *sk, int family, gfp_t priority) in selinux_sk_alloc_security()
5352 static void selinux_sk_free_security(struct sock *sk) in selinux_sk_free_security()
5361 static void selinux_sk_clone_security(const struct sock *sk, struct sock *newsk) in selinux_sk_clone_security()
5373 static void selinux_sk_getsecid(struct sock *sk, u32 *secid) in selinux_sk_getsecid()
[all …]
/security/selinux/include/
Dnetlabel.h111 static inline void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone()
115 static inline void selinux_netlbl_sctp_sk_clone(struct sock *sk, in selinux_netlbl_sctp_sk_clone()
120 static inline int selinux_netlbl_socket_post_create(struct sock *sk, in selinux_netlbl_socket_post_create()
138 static inline int selinux_netlbl_socket_connect(struct sock *sk, in selinux_netlbl_socket_connect()
143 static inline int selinux_netlbl_socket_connect_locked(struct sock *sk, in selinux_netlbl_socket_connect_locked()
/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.c2261 static int smack_sk_alloc_security(struct sock *sk, int family, gfp_t gfp_flags) in smack_sk_alloc_security()
2293 static void smack_sk_free_security(struct sock *sk) in smack_sk_free_security()
2421 static int smack_netlbl_add(struct sock *sk) in smack_netlbl_add()
2453 static void smack_netlbl_delete(struct sock *sk) in smack_netlbl_delete()
2482 static int smk_ipv4_check(struct sock *sk, struct sockaddr_in *sap) in smk_ipv4_check()
2558 struct sock *sk = sock->sk; in smk_ipv6_port_label() local
2645 static int smk_ipv6_port_check(struct sock *sk, struct sockaddr_in6 *address, in smk_ipv6_port_check()
3895 static struct smack_known *smack_from_netlbl(const struct sock *sk, u16 family, in smack_from_netlbl()
3925 static int smack_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in smack_socket_sock_rcv_skb()
4063 struct sock *sk = NULL; in smack_socket_getpeersec_dgram() local
[all …]
Dsmack.h497 struct sock *sk) in smk_ad_setfield_u_net_sk()
525 struct sock *sk) in smk_ad_setfield_u_net_sk()
/security/apparmor/
Dnet.c146 struct sock *sk) in aa_label_sk_perm()
164 int aa_sk_perm(const char *op, u32 request, struct sock *sk) in aa_sk_perm()
247 u32 secid, const struct sock *sk) in apparmor_secmark_check()
Dlsm.c781 static int apparmor_sk_alloc_security(struct sock *sk, int family, gfp_t flags) in apparmor_sk_alloc_security()
797 static void apparmor_sk_free_security(struct sock *sk) in apparmor_sk_free_security()
810 static void apparmor_sk_clone_security(const struct sock *sk, in apparmor_sk_clone_security()
1053 static int apparmor_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in apparmor_socket_sock_rcv_skb()
1066 static struct aa_label *sk_peer_label(struct sock *sk) in sk_peer_label()
1150 static void apparmor_sock_graft(struct sock *sk, struct socket *parent) in apparmor_sock_graft()
1159 static int apparmor_inet_conn_request(const struct sock *sk, struct sk_buff *skb, in apparmor_inet_conn_request()
1758 struct sock *sk; in apparmor_ip_postroute() local
/security/
Dsecurity.c2104 int security_netlink_send(struct sock *sk, struct sk_buff *skb) in security_netlink_send()
2287 int security_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in security_sock_rcv_skb()
2307 int security_sk_alloc(struct sock *sk, int family, gfp_t priority) in security_sk_alloc()
2312 void security_sk_free(struct sock *sk) in security_sk_free()
2317 void security_sk_clone(const struct sock *sk, struct sock *newsk) in security_sk_clone()
2323 void security_sk_classify_flow(struct sock *sk, struct flowi_common *flic) in security_sk_classify_flow()
2336 void security_sock_graft(struct sock *sk, struct socket *parent) in security_sock_graft()
2342 int security_inet_conn_request(const struct sock *sk, in security_inet_conn_request()
2355 void security_inet_conn_established(struct sock *sk, in security_inet_conn_established()
2404 int security_tun_dev_attach(struct sock *sk, void *security) in security_tun_dev_attach()
[all …]
Dlsm_audit.c323 const 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()