Searched refs:reason_buf (Results 1 – 5 of 5) sorted by relevance
/third_party/selinux/libsepol/utils/ |
D | sepol_check_access.c | 19 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/ |
D | audit2why.c | 316 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/ |
D | checkpolicy.c | 406 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/ |
D | services.h | 75 char **reason_buf, 88 char **reason_buf,
|
/third_party/selinux/libsepol/src/ |
D | services.c | 1035 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()
|