Searched refs:old_ctx (Results 1 – 4 of 4) sorted by relevance
293 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in selinux_xfrm_policy_clone() argument298 if (!old_ctx) in selinux_xfrm_policy_clone()301 new_ctx = kmemdup(old_ctx, sizeof(*old_ctx) + old_ctx->ctx_len, in selinux_xfrm_policy_clone()
16 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
99 const struct aa_task_ctx *old_ctx = cred_ctx(old); in apparmor_cred_transfer() local102 aa_dup_task_context(new_ctx, old_ctx); in apparmor_cred_transfer()
1580 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in security_xfrm_policy_clone() argument1583 return call_int_hook(xfrm_policy_clone_security, 0, old_ctx, new_ctxp); in security_xfrm_policy_clone()