Home
last modified time | relevance | path

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

/security/selinux/
A Dxfrm.c80 u32 str_len; in selinux_xfrm_alloc_user() local
87 str_len = uctx->ctx_len; in selinux_xfrm_alloc_user()
88 if (str_len >= PAGE_SIZE) in selinux_xfrm_alloc_user()
97 ctx->ctx_len = str_len + 1; in selinux_xfrm_alloc_user()
98 memcpy(ctx->ctx_str, &uctx[1], str_len); in selinux_xfrm_alloc_user()
99 ctx->ctx_str[str_len] = '\0'; in selinux_xfrm_alloc_user()
100 rc = security_context_to_sid(ctx->ctx_str, str_len, in selinux_xfrm_alloc_user()
344 u32 str_len; in selinux_xfrm_state_alloc_acquire() local
353 &str_len); in selinux_xfrm_state_alloc_acquire()
366 ctx->ctx_len = str_len; in selinux_xfrm_state_alloc_acquire()
[all …]
/security/tomoyo/
A Drealpath.c23 char *tomoyo_encode2(const char *str, int str_len) in tomoyo_encode2() argument
33 for (i = 0; i < str_len; i++) { in tomoyo_encode2()
50 for (i = 0; i < str_len; i++) { in tomoyo_encode2()
A Dcommon.h955 char *tomoyo_encode2(const char *str, int str_len);
/security/selinux/ss/
A Dsidtab.h143 const char *str, u32 str_len);
149 const char *str, u32 str_len) in sidtab_sid2str_put() argument
A Dsidtab.c564 const char *str, u32 str_len) in sidtab_sid2str_put() argument
583 cache = kmalloc(struct_size(cache, str, str_len), GFP_ATOMIC); in sidtab_sid2str_put()
597 cache->len = str_len; in sidtab_sid2str_put()
598 memcpy(cache->str, str, str_len); in sidtab_sid2str_put()

Completed in 17 milliseconds