Searched refs:name_len (Results 1 – 3 of 3) sorted by relevance
/security/tomoyo/ |
D | realpath.c | 182 int name_len; in tomoyo_get_local_path() local 187 name_len = strlen(name); in tomoyo_get_local_path() 188 pos -= name_len; in tomoyo_get_local_path() 191 memmove(pos, name, name_len); in tomoyo_get_local_path() 198 const int name_len = strlen(name); in tomoyo_get_local_path() local 199 pos -= name_len + 1; in tomoyo_get_local_path() 202 memmove(pos, name, name_len); in tomoyo_get_local_path() 203 pos[name_len] = ':'; in tomoyo_get_local_path()
|
/security/apparmor/ |
D | procattr.c | 39 int len = 0, mode_len = 0, ns_len = 0, name_len; in aa_getprocattr() local 60 name_len = strlen(profile->base.hname); in aa_getprocattr() 61 len = mode_len + ns_len + name_len + 1; /* + 1 for \n */ in aa_getprocattr()
|
/security/selinux/ss/ |
D | services.c | 2607 size_t name_len; in security_get_bools() local 2610 name_len = strlen(sym_name(&policydb, SYM_BOOLS, i)) + 1; in security_get_bools() 2613 (*names)[i] = kmalloc(sizeof(char) * name_len, GFP_ATOMIC); in security_get_bools() 2617 strncpy((*names)[i], sym_name(&policydb, SYM_BOOLS, i), name_len); in security_get_bools() 2618 (*names)[i][name_len - 1] = 0; in security_get_bools()
|