Home
last modified time | relevance | path

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

/security/selinux/
Dxfrm.c99 memcpy(ctx->ctx_str, &uctx[1], str_len); in selinux_xfrm_alloc_user()
100 ctx->ctx_str[str_len] = '\0'; in selinux_xfrm_alloc_user()
101 rc = security_context_to_sid(&selinux_state, ctx->ctx_str, str_len, in selinux_xfrm_alloc_user()
348 char *ctx_str = NULL; in selinux_xfrm_state_alloc_acquire() local
357 rc = security_sid_to_context(&selinux_state, secid, &ctx_str, in selinux_xfrm_state_alloc_acquire()
372 memcpy(ctx->ctx_str, ctx_str, str_len); in selinux_xfrm_state_alloc_acquire()
377 kfree(ctx_str); in selinux_xfrm_state_alloc_acquire()