Searched refs:str_len (Results 1 – 5 of 5) sorted by relevance
| /security/selinux/ |
| A D | xfrm.c | 80 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 D | realpath.c | 23 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 D | common.h | 955 char *tomoyo_encode2(const char *str, int str_len);
|
| /security/selinux/ss/ |
| A D | sidtab.h | 143 const char *str, u32 str_len); 149 const char *str, u32 str_len) in sidtab_sid2str_put() argument
|
| A D | sidtab.c | 564 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