Lines Matching refs:scontextp
1236 char *scontextp; in context_struct_to_string() local
1262 scontextp = kmalloc(*scontext_len, GFP_ATOMIC); in context_struct_to_string()
1263 if (!scontextp) in context_struct_to_string()
1265 *scontext = scontextp; in context_struct_to_string()
1270 scontextp += sprintf(scontextp, "%s:%s:%s", in context_struct_to_string()
1275 mls_sid_to_context(p, context, &scontextp); in context_struct_to_string()
1277 *scontextp = 0; in context_struct_to_string()
1344 char *scontextp; in security_sid_to_context_core() local
1352 scontextp = kmemdup(s, *scontext_len, GFP_ATOMIC); in security_sid_to_context_core()
1353 if (!scontextp) in security_sid_to_context_core()
1355 *scontext = scontextp; in security_sid_to_context_core()
1445 char *scontextp, *p, oldc; in string_to_context_struct() local
1453 scontextp = (char *) scontext; in string_to_context_struct()
1456 p = scontextp; in string_to_context_struct()
1465 usrdatum = symtab_search(&pol->p_users, scontextp); in string_to_context_struct()
1472 scontextp = p; in string_to_context_struct()
1481 role = symtab_search(&pol->p_roles, scontextp); in string_to_context_struct()
1487 scontextp = p; in string_to_context_struct()
1493 typdatum = symtab_search(&pol->p_types, scontextp); in string_to_context_struct()