Lines Matching refs:xfrm_sec_ctx
55 static inline int selinux_authorizable_ctx(struct xfrm_sec_ctx *ctx)
74 static int selinux_xfrm_alloc_user(struct xfrm_sec_ctx **ctxp,
80 struct xfrm_sec_ctx *ctx = NULL;
121 * Free the xfrm_sec_ctx structure.
123 static void selinux_xfrm_free(struct xfrm_sec_ctx *ctx)
135 static int selinux_xfrm_delete(struct xfrm_sec_ctx *ctx)
151 int selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid)
236 struct xfrm_sec_ctx *ctx = x->security;
282 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp,
293 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
294 struct xfrm_sec_ctx **new_ctxp)
296 struct xfrm_sec_ctx *new_ctx;
312 * LSM hook implementation that frees xfrm_sec_ctx security information.
314 void selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx)
322 int selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx)
342 struct xfrm_sec_ctx *polsec, u32 secid)
345 struct xfrm_sec_ctx *ctx;
414 struct xfrm_sec_ctx *ctx = x->security;