Home
last modified time | relevance | path

Searched refs:sidtab (Results 1 – 8 of 8) 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, security_context_t 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 security_context_t 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.c60 static struct sidtab avc_sidtab;
/external/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()
955 ocontext = sepol_sidtab_search(sidtab, oldsid); in sepol_validate_transition()
961 ncontext = sepol_sidtab_search(sidtab, newsid); in sepol_validate_transition()
967 tcontext = sepol_sidtab_search(sidtab, tasksid); in sepol_validate_transition()
995 scontext = sepol_sidtab_search(sidtab, ssid); in sepol_compute_av_reason()
1001 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_av_reason()
1031 scontext = sepol_sidtab_search(sidtab, ssid); in sepol_compute_av_reason_buffer()
1037 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_av_reason_buffer()
[all …]
/external/checkpolicy/
Dcheckmodule.c39 static sidtab_t sidtab; variable
243 sepol_set_sidtab(&sidtab); in main()
287 if (policydb_load_isids(&modpolicydb, &sidtab)) in main()
290 sepol_sidtab_destroy(&sidtab); in main()
Dcheckpolicy.c93 static sidtab_t sidtab; variable
499 sepol_set_sidtab(&sidtab); in main()
593 if (policydb_load_isids(&policydb, &sidtab)) in main()
829 sepol_sidtab_map(&sidtab, print_sid, 0); in main()
/external/libsepol/
DAndroid.mk36 src/sidtab.c \
DChangeLog802 * Renamed service and sidtab functions to avoid libselinux conflict.