1AUDIT_REQUEST_RULES_LIST_DATA(3)Linux Audit APIAUDIT_REQUEST_RULES_LIST_DATA(3)
2
3
4
6 audit_request_rules_list_data - Request list of current audit rules
7
9 #include <libaudit.h>
10
11 int audit_request_rules_list_data(int fd);
12
13
15 audit_request_rules_list_data sends a request to the kernel to list the
16 current audit rules. The rules are sent back one after another after
17 this request is issued.
18
19
21 The return value is <= 0 on error, otherwise it is the netlink sequence
22 id number. This function can have any error that sendto would en‐
23 counter.
24
25
27 audit_add_rule_data(3), audit_delete_rule_data(3), audit_open(3), au‐
28 ditctl(8).
29
30
32 Steve Grubb
33
34
35
36Red Hat Oct 2006 AUDIT_REQUEST_RULES_LIST_DATA(3)