Lines Matching refs:scontextp
1217 char *scontextp; in context_struct_to_string() local
1243 scontextp = kmalloc(*scontext_len, GFP_ATOMIC); in context_struct_to_string()
1244 if (!scontextp) in context_struct_to_string()
1246 *scontext = scontextp; in context_struct_to_string()
1251 scontextp += sprintf(scontextp, "%s:%s:%s", in context_struct_to_string()
1256 mls_sid_to_context(p, context, &scontextp); in context_struct_to_string()
1258 *scontextp = 0; in context_struct_to_string()
1324 char *scontextp; in security_sid_to_context_core() local
1332 scontextp = kmemdup(s, *scontext_len, GFP_ATOMIC); in security_sid_to_context_core()
1333 if (!scontextp) in security_sid_to_context_core()
1335 *scontext = scontextp; in security_sid_to_context_core()
1424 char *scontextp, *p, oldc; in string_to_context_struct() local
1432 scontextp = scontext; in string_to_context_struct()
1435 p = scontextp; in string_to_context_struct()
1444 usrdatum = symtab_search(&pol->p_users, scontextp); in string_to_context_struct()
1451 scontextp = p; in string_to_context_struct()
1460 role = symtab_search(&pol->p_roles, scontextp); in string_to_context_struct()
1466 scontextp = p; in string_to_context_struct()
1472 typdatum = symtab_search(&pol->p_types, scontextp); in string_to_context_struct()