Lines Matching refs:security
3 * Security-Enhanced Linux (SELinux) security module
29 * 3. Testing addition of sk_policy's with security context via setsockopt
33 #include <linux/security.h>
63 * Returns true if the xfrm contains a security blob for SELinux.
67 return selinux_authorizable_ctx(x->security);
71 * Allocates a xfrm_sec_state and populates it using the supplied security
180 if (!xp->security)
181 if (x->security)
188 if (!x->security)
196 state_sid = x->security->ctx_sid;
221 return x->security->ctx_sid;
236 struct xfrm_sec_ctx *ctx = x->security;
290 * LSM hook implementation that copies security data structure from old to new
312 * LSM hook implementation that frees xfrm_sec_ctx security information.
329 * the supplied security context, and assigns it to the xfrm_state.
334 return selinux_xfrm_alloc_user(&x->security, uctx, GFP_KERNEL);
372 x->security = ctx;
380 * LSM hook implementation that frees xfrm_state security information.
384 selinux_xfrm_free(x->security);
392 return selinux_xfrm_delete(x->security);
414 struct xfrm_sec_ctx *ctx = x->security;
430 * If we have no security association, then we need to determine
432 * If we do have a authorizable security association, then it has already been