Home
last modified time | relevance | path

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

/security/selinux/ss/
Dmls.c93 char *scontextp, *nm; in mls_sid_to_context() local
101 scontextp = *scontext; in mls_sid_to_context()
103 *scontextp = ':'; in mls_sid_to_context()
104 scontextp++; in mls_sid_to_context()
107 strcpy(scontextp, sym_name(p, SYM_LEVELS, in mls_sid_to_context()
109 scontextp += strlen(scontextp); in mls_sid_to_context()
120 *scontextp++ = '.'; in mls_sid_to_context()
122 *scontextp++ = ','; in mls_sid_to_context()
124 strcpy(scontextp, nm); in mls_sid_to_context()
125 scontextp += strlen(nm); in mls_sid_to_context()
[all …]
Dservices.c1212 char *scontextp; in context_struct_to_string() local
1238 scontextp = kmalloc(*scontext_len, GFP_ATOMIC); in context_struct_to_string()
1239 if (!scontextp) in context_struct_to_string()
1241 *scontext = scontextp; in context_struct_to_string()
1246 scontextp += sprintf(scontextp, "%s:%s:%s", in context_struct_to_string()
1251 mls_sid_to_context(p, context, &scontextp); in context_struct_to_string()
1253 *scontextp = 0; in context_struct_to_string()
1300 char *scontextp; in security_sid_to_context_core() local
1305 scontextp = kmemdup(initial_sid_to_string[sid], in security_sid_to_context_core()
1307 if (!scontextp) { in security_sid_to_context_core()
[all …]