Home
last modified time | relevance | path

Searched refs:old_ctx (Results 1 – 4 of 4) sorted by relevance

/security/selinux/
Dxfrm.c293 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in selinux_xfrm_policy_clone() argument
298 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()
/security/selinux/include/
Dxfrm.h16 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
/security/apparmor/
Dlsm.c99 const struct aa_task_ctx *old_ctx = cred_ctx(old); in apparmor_cred_transfer() local
102 aa_dup_task_context(new_ctx, old_ctx); in apparmor_cred_transfer()
/security/
Dsecurity.c1580 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in security_xfrm_policy_clone() argument
1583 return call_int_hook(xfrm_policy_clone_security, 0, old_ctx, new_ctxp); in security_xfrm_policy_clone()