Lines Matching refs:security
70 return selinux_authorizable_ctx(x->security); in selinux_authorizable_xfrm()
181 if (!xp->security) in selinux_xfrm_state_pol_flow_match()
182 if (x->security) in selinux_xfrm_state_pol_flow_match()
189 if (!x->security) in selinux_xfrm_state_pol_flow_match()
197 state_sid = x->security->ctx_sid; in selinux_xfrm_state_pol_flow_match()
221 return x->security->ctx_sid; in selinux_xfrm_skb_sid_egress()
236 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_skb_sid_ingress()
334 return selinux_xfrm_alloc_user(&x->security, uctx, GFP_KERNEL); in selinux_xfrm_state_alloc()
371 x->security = ctx; in selinux_xfrm_state_alloc_acquire()
383 selinux_xfrm_free(x->security); in selinux_xfrm_state_free()
391 return selinux_xfrm_delete(x->security); in selinux_xfrm_state_delete()
413 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_sock_rcv_skb()