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.c70 static sidtab_t mysidtab, *sidtab = &mysidtab; variable
75 sidtab = s; in sepol_set_sidtab()
103 return sepol_sidtab_init(sidtab); in sepol_set_policydb_from_file()
442 ocontext = sepol_sidtab_search(sidtab, oldsid); in sepol_validate_transition()
448 ncontext = sepol_sidtab_search(sidtab, newsid); in sepol_validate_transition()
454 tcontext = sepol_sidtab_search(sidtab, tasksid); in sepol_validate_transition()
482 scontext = sepol_sidtab_search(sidtab, ssid); in sepol_compute_av_reason()
488 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_av_reason()
526 context = sepol_sidtab_search(sidtab, sid); in sepol_sid_to_context()
554 if (sid && (sepol_sidtab_context_to_sid(sidtab, context, sid) < 0)) in sepol_context_to_sid()
[all …]
/external/checkpolicy/
Dcheckmodule.c39 static sidtab_t sidtab; variable
241 sepol_set_sidtab(&sidtab); in main()
285 if (policydb_load_isids(&modpolicydb, &sidtab)) in main()
288 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 \
DChangeLog769 * Renamed service and sidtab functions to avoid libselinux conflict.