Lines Matching refs:scontextp
1227 char *scontextp; in context_struct_to_string() local
1253 scontextp = kmalloc(*scontext_len, GFP_ATOMIC); in context_struct_to_string()
1254 if (!scontextp) in context_struct_to_string()
1256 *scontext = scontextp; in context_struct_to_string()
1261 scontextp += sprintf(scontextp, "%s:%s:%s", in context_struct_to_string()
1266 mls_sid_to_context(p, context, &scontextp); in context_struct_to_string()
1268 *scontextp = 0; in context_struct_to_string()
1297 char *scontextp; in security_sid_to_context_core() local
1302 scontextp = kmemdup(initial_sid_to_string[sid], in security_sid_to_context_core()
1304 if (!scontextp) { in security_sid_to_context_core()
1308 *scontext = scontextp; in security_sid_to_context_core()
1375 char *scontextp, *p, oldc; in string_to_context_struct() local
1383 scontextp = (char *) scontext; in string_to_context_struct()
1386 p = scontextp; in string_to_context_struct()
1395 usrdatum = hashtab_search(pol->p_users.table, scontextp); in string_to_context_struct()
1402 scontextp = p; in string_to_context_struct()
1411 role = hashtab_search(pol->p_roles.table, scontextp); in string_to_context_struct()
1417 scontextp = p; in string_to_context_struct()
1423 typdatum = hashtab_search(pol->p_types.table, scontextp); in string_to_context_struct()