Lines Matching refs:scontextp
1014 char *scontextp; in context_struct_to_string() local
1040 scontextp = kmalloc(*scontext_len, GFP_ATOMIC); in context_struct_to_string()
1041 if (!scontextp) in context_struct_to_string()
1043 *scontext = scontextp; in context_struct_to_string()
1048 sprintf(scontextp, "%s:%s:%s", in context_struct_to_string()
1052 scontextp += strlen(sym_name(&policydb, SYM_USERS, context->user - 1)) + in context_struct_to_string()
1056 mls_sid_to_context(context, &scontextp); in context_struct_to_string()
1058 *scontextp = 0; in context_struct_to_string()
1084 char *scontextp; in security_sid_to_context_core() local
1089 scontextp = kmalloc(*scontext_len, GFP_ATOMIC); in security_sid_to_context_core()
1090 if (!scontextp) { in security_sid_to_context_core()
1094 strcpy(scontextp, initial_sid_to_string[sid]); in security_sid_to_context_core()
1095 *scontext = scontextp; in security_sid_to_context_core()
1155 char *scontextp, *p, oldc; in string_to_context_struct() local
1163 scontextp = (char *) scontext; in string_to_context_struct()
1166 p = scontextp; in string_to_context_struct()
1175 usrdatum = hashtab_search(pol->p_users.table, scontextp); in string_to_context_struct()
1182 scontextp = p; in string_to_context_struct()
1191 role = hashtab_search(pol->p_roles.table, scontextp); in string_to_context_struct()
1197 scontextp = p; in string_to_context_struct()
1203 typdatum = hashtab_search(pol->p_types.table, scontextp); in string_to_context_struct()