Lines Matching defs:uctx
75 struct xfrm_user_sec_ctx *uctx,
83 if (ctxp == NULL || uctx == NULL ||
84 uctx->ctx_doi != XFRM_SC_DOI_LSM ||
85 uctx->ctx_alg != XFRM_SC_ALG_SELINUX)
88 str_len = uctx->ctx_len;
99 memcpy(ctx->ctx_str, &uctx[1], str_len);
280 * LSM hook implementation that allocs and transfers uctx spec to xfrm_policy.
283 struct xfrm_user_sec_ctx *uctx,
286 return selinux_xfrm_alloc_user(ctxp, uctx, gfp);
332 struct xfrm_user_sec_ctx *uctx)
334 return selinux_xfrm_alloc_user(&x->security, uctx, GFP_KERNEL);