Home
last modified time | relevance | path

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

/third_party/selinux/libselinux/src/
Davc_sidtab.h21 struct sidtab { struct
26 int sidtab_init(struct sidtab *s) ; argument
27 int sidtab_insert(struct sidtab *s, const char * ctx) ;
29 int sidtab_context_to_sid(struct sidtab *s,
32 void sidtab_sid_stats(struct sidtab *s, char *buf, int buflen) ;
33 void sidtab_destroy(struct sidtab *s) ;
Davc_sidtab.c30 int sidtab_init(struct sidtab *s) in sidtab_init()
48 int sidtab_insert(struct sidtab *s, const char * ctx) in sidtab_insert()
77 sidtab_context_to_sid(struct sidtab *s, in sidtab_context_to_sid()
103 void sidtab_sid_stats(struct sidtab *s, char *buf, int buflen) in sidtab_sid_stats()
131 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()
272 rc = sepol_sidtab_init(&sidtab); in __policy_init()
277 sepol_set_sidtab(&sidtab); in __policy_init()
Davc.c60 static struct sidtab avc_sidtab;
/third_party/selinux/libsepol/src/
Dservices.c74 static sidtab_t mysidtab, *sidtab = &mysidtab; variable
123 sidtab = s; in sepol_set_sidtab()
152 return sepol_sidtab_init(sidtab); in sepol_set_policydb_from_file()
1050 ocontext = sepol_sidtab_search(sidtab, oldsid); in sepol_validate_transition_reason_buffer()
1056 ncontext = sepol_sidtab_search(sidtab, newsid); in sepol_validate_transition_reason_buffer()
1062 tcontext = sepol_sidtab_search(sidtab, tasksid); in sepol_validate_transition_reason_buffer()
1099 scontext = sepol_sidtab_search(sidtab, ssid); in sepol_compute_av_reason()
1105 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_av_reason()
1135 scontext = sepol_sidtab_search(sidtab, ssid); in sepol_compute_av_reason_buffer()
1141 tcontext = sepol_sidtab_search(sidtab, tsid); in sepol_compute_av_reason_buffer()
[all …]
/third_party/selinux/libsepol/fuzz/
Dbinpolicy-fuzzer.c21 sidtab_t sidtab = {}; in LLVMFuzzerTestOneInput() local
38 if (policydb_load_isids(&policydb, &sidtab)) in LLVMFuzzerTestOneInput()
59 sepol_sidtab_destroy(&sidtab); in LLVMFuzzerTestOneInput()
/third_party/selinux/checkpolicy/
Dcheckmodule.c37 static sidtab_t sidtab; variable
262 sepol_set_sidtab(&sidtab); in main()
327 if (policydb_load_isids(&modpolicydb, &sidtab)) in main()
330 sepol_sidtab_destroy(&sidtab); in main()
Dcheckpolicy.c96 static sidtab_t sidtab; variable
530 sepol_set_sidtab(&sidtab); in main()
644 if (policydb_load_isids(&policydb, &sidtab)) in main()
716 sepol_sidtab_destroy(&sidtab); in main()
926 sepol_sidtab_map(&sidtab, print_sid, 0); in main()
/third_party/selinux/
DBUILD.gn118 "$LIBSEPOL_ROOT_DIR/src/sidtab.c",
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h54057 struct sidtab;
54062 struct sidtab *target;
54065 struct sidtab { struct
54268 struct sidtab *sidtab; member