Searched refs:old_ctx (Results 1 – 4 of 4) sorted by relevance
/security/selinux/ |
D | xfrm.c | 306 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in selinux_xfrm_policy_clone() argument 311 if (old_ctx) { in selinux_xfrm_policy_clone() 312 new_ctx = kmalloc(sizeof(*old_ctx) + old_ctx->ctx_len, in selinux_xfrm_policy_clone() 317 memcpy(new_ctx, old_ctx, sizeof(*new_ctx)); in selinux_xfrm_policy_clone() 318 memcpy(new_ctx->ctx_str, old_ctx->ctx_str, new_ctx->ctx_len); in selinux_xfrm_policy_clone()
|
/security/selinux/include/ |
D | xfrm.h | 14 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx,
|
/security/ |
D | security.c | 1226 int security_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in security_xfrm_policy_clone() argument 1229 return security_ops->xfrm_policy_clone_security(old_ctx, new_ctxp); in security_xfrm_policy_clone()
|
D | capability.c | 749 static int cap_xfrm_policy_clone_security(struct xfrm_sec_ctx *old_ctx, in cap_xfrm_policy_clone_security() argument
|