Home
last modified time | relevance | path

Searched refs:semanage_fcontext_t (Results 1 – 12 of 12) sorted by relevance

/external/selinux/libsemanage/include/semanage/
Dfcontext_record.h12 typedef struct semanage_fcontext semanage_fcontext_t; typedef
18 extern int semanage_fcontext_compare(const semanage_fcontext_t * fcontext,
21 extern int semanage_fcontext_compare2(const semanage_fcontext_t * fcontext,
22 const semanage_fcontext_t * fcontext2);
30 const semanage_fcontext_t * fcontext,
36 extern const char *semanage_fcontext_get_expr(const semanage_fcontext_t *
40 semanage_fcontext_t * fcontext,
53 extern int semanage_fcontext_get_type(const semanage_fcontext_t * fcontext);
57 extern void semanage_fcontext_set_type(semanage_fcontext_t * fcontext,
61 extern semanage_context_t *semanage_fcontext_get_con(const semanage_fcontext_t *
[all …]
Dfcontexts_policy.h11 semanage_fcontext_t ** response);
21 int (*handler) (const semanage_fcontext_t *
26 semanage_fcontext_t *** records,
30 semanage_fcontext_t *** records,
Dfcontexts_local.h11 const semanage_fcontext_t * data);
18 semanage_fcontext_t ** response);
29 semanage_fcontext_t *
34 semanage_fcontext_t *** records,
/external/selinux/libsemanage/src/
Dfcontext_record.c63 const semanage_fcontext_t * fcontext, in hidden_def()
88 int semanage_fcontext_compare(const semanage_fcontext_t * fcontext, in hidden_def()
109 int semanage_fcontext_compare2(const semanage_fcontext_t * fcontext, in hidden_def()
110 const semanage_fcontext_t * fcontext2) in hidden_def()
130 static int semanage_fcontext_compare2_qsort(const semanage_fcontext_t ** in hidden_def()
132 const semanage_fcontext_t ** in hidden_def()
141 semanage_fcontext_t ** fcontext) in semanage_fcontext_create()
144 semanage_fcontext_t *tmp_fcontext = in semanage_fcontext_create()
145 (semanage_fcontext_t *) malloc(sizeof(semanage_fcontext_t)); in semanage_fcontext_create()
164 const char *semanage_fcontext_get_expr(const semanage_fcontext_t * fcontext) in hidden_def()
[all …]
Dfcontexts_policy.c15 semanage_fcontext_t ** response) in semanage_fcontext_query()
38 int (*handler) (const semanage_fcontext_t * in semanage_fcontext_iterate()
48 semanage_fcontext_t *** records, unsigned int *count) in semanage_fcontext_list()
56 semanage_fcontext_t *** records, unsigned int *count) in semanage_fcontext_list_homedirs()
Dfcontexts_local.c20 const semanage_fcontext_t * data) in semanage_fcontext_modify_local()
37 semanage_fcontext_t ** response) in semanage_fcontext_query_local()
62 int (*handler) (const semanage_fcontext_t * in semanage_fcontext_iterate_local()
74 semanage_fcontext_t *** records, in hidden_def()
87 static int validate_handler(const semanage_fcontext_t * fcon, void *varg) in validate_handler()
Dsemanageswig_ruby.i84 %typemap(in, numinputs=0) semanage_fcontext_t ***(semanage_fcontext_t **temp=NULL) {
88 %typemap(in, numinputs=0) semanage_fcontext_t **(semanage_fcontext_t *temp=NULL) {
92 %typemap(argout) semanage_fcontext_t ** {
Dsemanageswig_python.i227 %typemap(in, numinputs=0) semanage_fcontext_t ***(semanage_fcontext_t **temp=NULL) {
233 semanage_fcontext_t*** records,
250 %typemap(in, numinputs=0) semanage_fcontext_t **(semanage_fcontext_t *temp=NULL) {
254 %typemap(argout) semanage_fcontext_t ** {
Dfcontexts_file.c47 semanage_fcontext_t * fcontext, FILE * str) in fcontext_print()
82 parse_info_t * info, semanage_fcontext_t * fcontext) in fcontext_parse()
Dgenhomedircon.c240 static int fcontext_matches(const semanage_fcontext_t *fcontext, void *varg) in fcontext_matches()
/external/selinux/libsemanage/tests/
Dtest_fcontext.c190 semanage_fcontext_t *get_fcontext_new(void) in get_fcontext_new()
192 semanage_fcontext_t *fcontext; in get_fcontext_new()
199 semanage_fcontext_t *get_fcontext_nth(int idx) in get_fcontext_nth()
201 semanage_fcontext_t **records; in get_fcontext_nth()
202 semanage_fcontext_t *fcontext; in get_fcontext_nth()
223 semanage_fcontext_t *fcontext; in get_fcontext_key_nth()
238 semanage_fcontext_t *fcontext; in add_local_fcontext()
281 semanage_fcontext_t *fcontext; in test_fcontext_compare()
311 semanage_fcontext_t *fcontext; in test_fcontext_compare2()
312 semanage_fcontext_t *fcontext1; in test_fcontext_compare2()
[all …]
/external/selinux/libsemanage/example/
Dtest_fcontext.c12 semanage_fcontext_t *fcontext; in main()