Home
last modified time | relevance | path

Searched refs:ctx_raw (Results 1 – 10 of 10) sorted by relevance

/external/selinux/libselinux/src/
Dlabel_backends_android.c63 if (strcmp(spec_arr[jj].lr.ctx_raw, in nodups_specs()
64 curr_spec->lr.ctx_raw)) { in nodups_specs()
71 spec_arr[jj].lr.ctx_raw, in nodups_specs()
72 curr_spec->lr.ctx_raw); in nodups_specs()
124 spec_arr[nspec].lr.ctx_raw = context; in process_line()
130 path, lineno, spec_arr[nspec].lr.ctx_raw); in process_line()
285 free(spec->lr.ctx_raw); in closef()
Dlabel_file.c77 if (strcmp(spec_arr[jj].lr.ctx_raw, in nodups_specs()
78 curr_spec->lr.ctx_raw)) { in nodups_specs()
83 spec_arr[jj].lr.ctx_raw, in nodups_specs()
84 curr_spec->lr.ctx_raw); in nodups_specs()
329 spec->lr.ctx_raw = str_buf; in load_mmap()
331 if (strcmp(spec->lr.ctx_raw, "<<none>>") && rec->validating) { in load_mmap()
335 path, spec->lr.ctx_raw); in load_mmap()
864 free(spec->lr.ctx_raw); in closef()
977 if (strcmp(spec_arr[i].lr.ctx_raw, "<<none>>") == 0) { in lookup_all()
1040 char* ctx_raw = matches[i]->lr.ctx_raw; in hash_all_partial_matches() local
[all …]
Dlabel.c138 rc = selinux_validate(&contexts->ctx_raw); in selabel_validate()
160 selinux_raw_to_trans_context(lr->ctx_raw, &lr->ctx_trans)) in selabel_fini()
268 *con = strdup(lr->ctx_raw); in selabel_lookup_raw()
326 *con = strdup(lr->ctx_raw); in selabel_lookup_best_match_raw()
Dlabel_db.c156 spec->lr.ctx_raw = context; in process_line()
184 free(spec->lr.ctx_raw); in db_close()
341 free(spec->lr.ctx_raw); in db_init()
Dlabel_media.c59 data->spec_arr[data->nspec].lr.ctx_raw = context; in process_line()
162 free(spec->lr.ctx_raw); in close()
Dlabel_x.c84 data->spec_arr[data->nspec].lr.ctx_raw = context; in process_line()
189 free(spec->lr.ctx_raw); in close()
Dlabel_internal.h73 char * ctx_raw; member
Dlabel_file.h488 spec_arr[nspec].lr.ctx_raw = context; in process_line()
Dmatchpathcon.c43 char **ctx = &contexts->ctx_raw; in compat_validate()
/external/selinux/libselinux/utils/
Dsefcontext_compile.c178 char *context = specs[i].lr.ctx_raw; in write_binary_file()
253 free(specs[i].lr.ctx_raw); in free_specs()