1AUDIT_IS_ENABLED(3) Linux Audit API AUDIT_IS_ENABLED(3)
2
3
4
6 audit_is_enabled - judge whether auditing is enabled or not
7
9 #include <libaudit.h>
10
11 int audit_is_enabled(int fd);
12
14 audit_is_enabled() judges whether auditing is enabled or not. fd must
15 have been returned by audit_open(3).
16
17
19 This function will return 0 if auditing is NOT enabled and 1 if en‐
20 abled, and -1 on error.
21
22
24 audit_set_enabled(3).
25
26
28 Steve Grubb
29
30
31
32
33Red Hat May 2021 AUDIT_IS_ENABLED(3)