Searched defs:sk (Results 1 – 10 of 10) sorted by relevance
/security/selinux/ |
D | netlabel.c | 82 static struct netlbl_lsm_secattr *selinux_netlbl_sock_genattr(struct sock *sk) in selinux_netlbl_sock_genattr() 114 const struct sock *sk, in selinux_netlbl_sock_getattr() 246 struct sock *sk; in selinux_netlbl_skbuff_setsid() local 312 void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_clone() 332 int selinux_netlbl_socket_post_create(struct sock *sk, u16 family) in selinux_netlbl_socket_post_create() 448 struct sock *sk = sock->sk; in selinux_netlbl_socket_setsockopt() local 482 int selinux_netlbl_socket_connect(struct sock *sk, struct sockaddr *addr) in selinux_netlbl_socket_connect()
|
D | hooks.c | 4377 static int sock_has_perm(struct sock *sk, u32 perms) in sock_has_perm() 4449 struct sock *sk = sock->sk; in selinux_socket_bind() local 4557 struct sock *sk = sock->sk; in selinux_socket_connect() local 4759 static int selinux_sock_rcv_skb_compat(struct sock *sk, struct sk_buff *skb, in selinux_sock_rcv_skb_compat() 4792 static int selinux_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in selinux_socket_sock_rcv_skb() 4923 static int selinux_sk_alloc_security(struct sock *sk, int family, gfp_t priority) in selinux_sk_alloc_security() 4940 static void selinux_sk_free_security(struct sock *sk) in selinux_sk_free_security() 4949 static void selinux_sk_clone_security(const struct sock *sk, struct sock *newsk) in selinux_sk_clone_security() 4961 static void selinux_sk_getsecid(struct sock *sk, u32 *secid) in selinux_sk_getsecid() 4972 static void selinux_sock_graft(struct sock *sk, struct socket *parent) in selinux_sock_graft() [all …]
|
/security/selinux/include/ |
D | netlabel.h | 111 static inline int selinux_netlbl_conn_setsid(struct sock *sk, in selinux_netlbl_conn_setsid() 122 static inline void selinux_netlbl_inet_csk_clone(struct sock *sk, u16 family) in selinux_netlbl_inet_csk_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()
|
/security/smack/ |
D | smack_netfilter.c | 30 struct sock *sk = skb_to_full_sk(skb); in smack_ipv6_output() local 48 struct sock *sk = skb_to_full_sk(skb); in smack_ipv4_output() local
|
D | smack_lsm.c | 2302 static int smack_sk_alloc_security(struct sock *sk, int family, gfp_t gfp_flags) in smack_sk_alloc_security() 2334 static void smack_sk_free_security(struct sock *sk) in smack_sk_free_security() 2466 static int smack_netlabel(struct sock *sk, int labeled) in smack_netlabel() 2508 static int smack_netlabel_send(struct sock *sk, struct sockaddr_in *sap) in smack_netlabel_send() 2588 struct sock *sk = sock->sk; in smk_ipv6_port_label() local 2673 static int smk_ipv6_port_check(struct sock *sk, struct sockaddr_in6 *address, in smk_ipv6_port_check() 3957 static int smack_socket_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in smack_socket_sock_rcv_skb() 4167 static void smack_sock_graft(struct sock *sk, struct socket *parent) in smack_sock_graft() 4191 static int smack_inet_conn_request(struct sock *sk, struct sk_buff *skb, in smack_inet_conn_request() 4292 static void smack_inet_csk_clone(struct sock *sk, in smack_inet_csk_clone()
|
D | smack.h | 466 struct sock *sk) in smk_ad_setfield_u_net_sk() 498 struct sock *sk) in smk_ad_setfield_u_net_sk()
|
/security/ |
D | security.c | 1277 int security_netlink_send(struct sock *sk, struct sk_buff *skb) in security_netlink_send() 1414 int security_sock_rcv_skb(struct sock *sk, struct sk_buff *skb) in security_sock_rcv_skb() 1434 int security_sk_alloc(struct sock *sk, int family, gfp_t priority) in security_sk_alloc() 1439 void security_sk_free(struct sock *sk) in security_sk_free() 1444 void security_sk_clone(const struct sock *sk, struct sock *newsk) in security_sk_clone() 1450 void security_sk_classify_flow(struct sock *sk, struct flowi *fl) in security_sk_classify_flow() 1462 void security_sock_graft(struct sock *sk, struct socket *parent) in security_sock_graft() 1468 int security_inet_conn_request(struct sock *sk, in security_inet_conn_request() 1481 void security_inet_conn_established(struct sock *sk, in security_inet_conn_established() 1529 int security_tun_dev_attach(struct sock *sk, void *security) in security_tun_dev_attach()
|
D | lsm_audit.c | 322 struct sock *sk = a->u.net->sk; in dump_common_audit_data() local
|
/security/tomoyo/ |
D | realpath.c | 225 struct sock *sk = sock ? sock->sk : NULL; in tomoyo_get_socket_name() local
|
D | network.c | 622 static u8 tomoyo_sock_family(struct sock *sk) in tomoyo_sock_family()
|