1AUDIT_NAME_TO_ACTION(3) Linux Audit API AUDIT_NAME_TO_ACTION(3)
2
3
4
6 audit_name_to_action - Convert the action name to the numeric action
7 value
8
10 #include <libaudit.h>
11
12 int audit_name_to_action(const char *action);
13
15 audit_name_to_action() converts the action name ("never", "possible",
16 "always") to the numeric action value (AUDIT_NEVER, AUDIT_POSSIBLE, AU‐
17 DIT_ALWAYS). action is the action name.
18
19
21 Returns -1 if an error occurs; otherwise, the return value is the nu‐
22 meric action value.
23
24
26 audit_action_to_name(3),
27
28
30 Steve Grubb
31
32
33
34Red Hat Mar 2022 AUDIT_NAME_TO_ACTION(3)