Home
last modified time | relevance | path

Searched refs:sidtab (Results 1 – 8 of 8) sorted by relevance

/external/selinux/libselinux/src/
Davc_sidtab.h22 struct sidtab { struct
27 int sidtab_init(struct sidtab *s) hidden; argument
28 int sidtab_insert(struct sidtab *s, const char * ctx) hidden;
30 int sidtab_context_to_sid(struct sidtab *s,
33 void sidtab_sid_stats(struct sidtab *s, char *buf, int buflen) hidden;
34 void sidtab_destroy(struct sidtab *s) hidden;
Davc_sidtab.c31 int sidtab_init(struct sidtab *s) in sidtab_init()
49 int sidtab_insert(struct sidtab *s, const char * ctx) in sidtab_insert()
78 sidtab_context_to_sid(struct sidtab *s, in sidtab_context_to_sid()
104 void sidtab_sid_stats(struct sidtab *h, char *buf, int buflen) in sidtab_sid_stats()
132 void sidtab_destroy(struct sidtab *s) in sidtab_destroy()
Daudit2why.c52 static sidtab_t sidtab; variable
176 sepol_sidtab_shutdown(&sidtab); in finish()
177 sepol_sidtab_destroy(&sidtab); in finish()
282 rc = sepol_sidtab_init(&sidtab); in __policy_init()
288 sepol_set_sidtab(&sidtab); in __policy_init()
Davc.c61 static struct sidtab avc_sidtab;
/external/selinux/libsepol/src/
Dservices.c77 static sidtab_t mysidtab, *sidtab = &mysidtab; variable
126 sidtab = s; in sepol_set_sidtab()
155 return sepol_sidtab_init(sidtab); in sepol_set_policydb_from_file()
1037 ocontext = sepol_sidtab_search(sidtab, oldsid); in sepol_validate_transition()
1043 ncontext = sepol_sidtab_search(sidtab, newsid); in sepol_validate_transition()
1049 tcontext = sepol_sidtab_search(sidtab, tasksid); in sepol_validate_transition()
1090 ocontext = sepol_sidtab_search(sidtab, oldsid); in sepol_validate_transition_reason_buffer()
1096 ncontext = sepol_sidtab_search(sidtab, newsid); in sepol_validate_transition_reason_buffer()
1102 tcontext = sepol_sidtab_search(sidtab, tasksid); in sepol_validate_transition_reason_buffer()
1139 scontext = sepol_sidtab_search(sidtab, ssid); in sepol_compute_av_reason()
[all …]
/external/selinux/checkpolicy/
Dcheckmodule.c41 static sidtab_t sidtab; variable
236 sepol_set_sidtab(&sidtab); in main()
299 if (policydb_load_isids(&modpolicydb, &sidtab)) in main()
302 sepol_sidtab_destroy(&sidtab); in main()
Dcheckpolicy.c100 static sidtab_t sidtab; variable
523 sepol_set_sidtab(&sidtab); in main()
625 if (policydb_load_isids(&policydb, &sidtab)) in main()
683 sepol_sidtab_destroy(&sidtab); in main()
893 sepol_sidtab_map(&sidtab, print_sid, 0); in main()
/external/selinux/libsepol/
DAndroid.bp53 "src/sidtab.c",