Home
last modified time | relevance | path

Searched refs:reason_buf (Results 1 – 5 of 5) sorted by relevance

/third_party/selinux/libsepol/utils/
Dsepol_check_access.c19 char *reason_buf; in main() local
86 if (sepol_compute_av_reason_buffer(ssid, tsid, tclass, av, &avd, &reason, &reason_buf, 0) < 0) { in main()
93 free(reason_buf); in main()
122 if ((reason & SEPOL_COMPUTEAV_CONS) && reason_buf) in main()
123 printf("; reason:\n%s", reason_buf); in main()
125 free(reason_buf); in main()
/third_party/selinux/libselinux/src/
Daudit2why.c316 char *reason_buf = NULL; in analyze() local
382 rc = sepol_compute_av_reason_buffer(ssid, tsid, tclass, av, &avd, &reason, &reason_buf, 0); in analyze()
422 if (reason_buf) { in analyze()
424 result = Py_BuildValue("is", CONSTRAINT, reason_buf); in analyze()
425 free(reason_buf); in analyze()
/third_party/selinux/checkpolicy/
Dcheckpolicy.c406 char *reason_buf = NULL; in main() local
1204 &reason_buf, flags)) { in main()
1208 if (reason_buf) { in main()
1210 reason_buf); in main()
1211 free(reason_buf); in main()
1255 &reason_buf, flags)) { in main()
1259 if (reason_buf) { in main()
1261 reason_buf); in main()
1262 free(reason_buf); in main()
/third_party/selinux/libsepol/include/sepol/policydb/
Dservices.h75 char **reason_buf,
88 char **reason_buf,
/third_party/selinux/libsepol/src/
Dservices.c1035 char **reason_buf, in sepol_validate_transition_reason_buffer() argument
1075 *reason_buf = NULL; in sepol_validate_transition_reason_buffer()
1081 tclass, constraint, reason_buf, flags)) { in sepol_validate_transition_reason_buffer()
1129 char **reason_buf, in sepol_compute_av_reason_buffer() argument
1155 *reason_buf = NULL; in sepol_compute_av_reason_buffer()
1160 requested, avd, reason, reason_buf, flags); in sepol_compute_av_reason_buffer()