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);
283 * LSM hook implementation that allocs and transfers uctx spec to xfrm_policy.
286 struct xfrm_user_sec_ctx *uctx,
289 return selinux_xfrm_alloc_user(ctxp, uctx, gfp);
335 struct xfrm_user_sec_ctx *uctx)
337 return selinux_xfrm_alloc_user(&x->security, uctx, GFP_KERNEL);