Home
last modified time | relevance | path

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

/linux-6.12.1/security/selinux/ss/
Dmls.c89 char *scontextp, *nm; in mls_sid_to_context() local
97 scontextp = *scontext; in mls_sid_to_context()
99 *scontextp = ':'; in mls_sid_to_context()
100 scontextp++; in mls_sid_to_context()
103 strcpy(scontextp, sym_name(p, SYM_LEVELS, in mls_sid_to_context()
105 scontextp += strlen(scontextp); in mls_sid_to_context()
117 *scontextp++ = '.'; in mls_sid_to_context()
119 *scontextp++ = ','; in mls_sid_to_context()
121 strcpy(scontextp, nm); in mls_sid_to_context()
122 scontextp += strlen(nm); in mls_sid_to_context()
[all …]
Dservices.c1216 char *scontextp; in context_struct_to_string() local
1242 scontextp = kmalloc(*scontext_len, GFP_ATOMIC); in context_struct_to_string()
1243 if (!scontextp) in context_struct_to_string()
1245 *scontext = scontextp; in context_struct_to_string()
1250 scontextp += sprintf(scontextp, "%s:%s:%s", in context_struct_to_string()
1255 mls_sid_to_context(p, context, &scontextp); in context_struct_to_string()
1257 *scontextp = 0; in context_struct_to_string()
1323 char *scontextp; in security_sid_to_context_core() local
1342 scontextp = kmemdup(s, *scontext_len, GFP_ATOMIC); in security_sid_to_context_core()
1343 if (!scontextp) in security_sid_to_context_core()
[all …]