Lines Matching refs:scontextp
1187 char *scontextp; in context_struct_to_string() local
1213 scontextp = kmalloc(*scontext_len, GFP_ATOMIC); in context_struct_to_string()
1214 if (!scontextp) in context_struct_to_string()
1216 *scontext = scontextp; in context_struct_to_string()
1221 scontextp += sprintf(scontextp, "%s:%s:%s", in context_struct_to_string()
1226 mls_sid_to_context(context, &scontextp); in context_struct_to_string()
1228 *scontextp = 0; in context_struct_to_string()
1254 char *scontextp; in security_sid_to_context_core() local
1259 scontextp = kmemdup(initial_sid_to_string[sid], in security_sid_to_context_core()
1261 if (!scontextp) { in security_sid_to_context_core()
1265 *scontext = scontextp; in security_sid_to_context_core()
1325 char *scontextp, *p, oldc; in string_to_context_struct() local
1333 scontextp = (char *) scontext; in string_to_context_struct()
1336 p = scontextp; in string_to_context_struct()
1345 usrdatum = hashtab_search(pol->p_users.table, scontextp); in string_to_context_struct()
1352 scontextp = p; in string_to_context_struct()
1361 role = hashtab_search(pol->p_roles.table, scontextp); in string_to_context_struct()
1367 scontextp = p; in string_to_context_struct()
1373 typdatum = hashtab_search(pol->p_types.table, scontextp); in string_to_context_struct()