1AUDIT_NAME_TO_FLAG(3)           Linux Audit API          AUDIT_NAME_TO_FLAG(3)
2
3
4

NAME

6       audit_name_to_flag  -  Convert the rule-matching filter name to the nu‐
7       meric rule-matching filter value
8

SYNOPSIS

10       #include <libaudit.h>
11
12       int audit_name_to_flag(const char *flag);
13

DESCRIPTION

15       audit_name_to_flag() converts the rule-matching  filter  name  ("task",
16       "exit",  "user",  "exclude", "filesystem") to the numeric rule-matching
17       filter value (AUDIT_FILTER_TASK, AUDIT_FILTER_EXIT,  AUDIT_FILTER_USER,
18       AUDIT_FILTER_EXCLUDE, AUDIT_FILTER_FS).  flag is the rule-matching fil‐
19       ter name.
20
21

RETURN VALUE

23       Returns -1 if an error occurs; otherwise, the return value is  the  nu‐
24       meric rule-matching filter value.
25
26

SEE ALSO

28       audit_flag_to_name(3),
29
30

AUTHOR

32       Steve Grubb
33
34
35
36Red Hat                            Mar 2022              AUDIT_NAME_TO_FLAG(3)
Impressum