Lines Matching refs:scontextp
1212 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()
1311 *scontext = scontextp; in security_sid_to_context_core()
1400 char *scontextp, *p, oldc; in string_to_context_struct() local
1408 scontextp = (char *) scontext; in string_to_context_struct()
1411 p = scontextp; in string_to_context_struct()
1420 usrdatum = hashtab_search(pol->p_users.table, scontextp); in string_to_context_struct()
1427 scontextp = p; in string_to_context_struct()
1436 role = hashtab_search(pol->p_roles.table, scontextp); in string_to_context_struct()
1442 scontextp = p; in string_to_context_struct()
1448 typdatum = hashtab_search(pol->p_types.table, scontextp); in string_to_context_struct()