Searched refs:ctx_str (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/security/selinux/ |
D | xfrm.c | 102 memcpy(ctx->ctx_str, &uctx[1], str_len); in selinux_xfrm_alloc_user() 103 ctx->ctx_str[str_len] = '\0'; in selinux_xfrm_alloc_user() 104 rc = security_context_to_sid(ctx->ctx_str, str_len, &ctx->ctx_sid, gfp); in selinux_xfrm_alloc_user() 346 char *ctx_str = NULL; in selinux_xfrm_state_alloc_acquire() local 355 rc = security_sid_to_context(secid, &ctx_str, &str_len); in selinux_xfrm_state_alloc_acquire() 369 memcpy(ctx->ctx_str, ctx_str, str_len); in selinux_xfrm_state_alloc_acquire() 374 kfree(ctx_str); in selinux_xfrm_state_alloc_acquire()
|
/linux-4.4.14/include/uapi/linux/ |
D | xfrm.h | 35 char ctx_str[0]; member
|
/linux-4.4.14/net/key/ |
D | af_key.c | 1006 memcpy(sec_ctx + 1, xfrm_ctx->ctx_str, in __pfkey_xfrm_state2msg() 2150 memcpy(sec_ctx + 1, xfrm_ctx->ctx_str, in pfkey_xfrm_policy2msg() 3181 memcpy(sec_ctx + 1, xfrm_ctx->ctx_str, in pfkey_send_acquire()
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_state.c | 2143 ctx->ctx_alg, ctx->ctx_doi, ctx->ctx_str); in xfrm_audit_helper_sainfo()
|
D | xfrm_policy.c | 3097 ctx->ctx_alg, ctx->ctx_doi, ctx->ctx_str); in xfrm_audit_common_policyinfo()
|
D | xfrm_user.c | 767 memcpy(uctx + 1, s->ctx_str, s->ctx_len); in copy_sec_ctx()
|