Home
last modified time | relevance | path

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

/external/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()
Davc.c61 static struct sidtab avc_sidtab;
/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.c51 static sidtab_t sidtab; variable
175 sepol_sidtab_shutdown(&sidtab); in finish()
176 sepol_sidtab_destroy(&sidtab); in finish()
281 rc = sepol_sidtab_init(&sidtab); in __policy_init()
287 sepol_set_sidtab(&sidtab); in __policy_init()
Davc.c61 static struct sidtab avc_sidtab;
/external/selinux/libsepol/src/
Dservices.c76 static sidtab_t mysidtab, *sidtab = &mysidtab; variable
125 sidtab = s; in sepol_set_sidtab()
154 return sepol_sidtab_init(sidtab); in sepol_set_policydb_from_file()
969 ocontext = sepol_sidtab_search(sidtab, oldsid); in sepol_validate_transition()
975 ncontext = sepol_sidtab_search(sidtab, newsid); in sepol_validate_transition()
981 tcontext = sepol_sidtab_search(sidtab, tasksid); in sepol_validate_transition()
1022 ocontext = sepol_sidtab_search(sidtab, oldsid); in sepol_validate_transition_reason_buffer()
1028 ncontext = sepol_sidtab_search(sidtab, newsid); in sepol_validate_transition_reason_buffer()
1034 tcontext = sepol_sidtab_search(sidtab, tasksid); in sepol_validate_transition_reason_buffer()
1071 scontext = sepol_sidtab_search(sidtab, ssid); in sepol_compute_av_reason()
[all …]
/external/selinux/checkpolicy/
Dcheckmodule.c40 static sidtab_t sidtab; variable
236 sepol_set_sidtab(&sidtab); in main()
280 if (policydb_load_isids(&modpolicydb, &sidtab)) in main()
283 sepol_sidtab_destroy(&sidtab); in main()
Dcheckpolicy.c94 static sidtab_t sidtab; variable
511 sepol_set_sidtab(&sidtab); in main()
609 if (policydb_load_isids(&policydb, &sidtab)) in main()
864 sepol_sidtab_map(&sidtab, print_sid, 0); in main()
/external/sepolicy/tools/
Dsepolicy-check.c238 sidtab_t sidtab; in main() local
277 sepol_set_sidtab(&sidtab); in main()
/external/selinux/libsepol/
DAndroid.mk37 src/sidtab.c \
DChangeLog839 * Renamed service and sidtab functions to avoid libselinux conflict.
/external/selinux/libselinux/
DChangeLog951 AVC sidtab, matchpathcon, booleans, context, and get_context_list