File: audit_name_to_flag.3

package info (click to toggle)
audit 1%3A3.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,916 kB
  • sloc: ansic: 57,158; sh: 5,100; python: 2,938; makefile: 1,494; sed: 32
file content (25 lines) | stat: -rw-r--r-- 788 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.TH "AUDIT_NAME_TO_FLAG" "3" "Mar 2022" "Red Hat" "Linux Audit API"
.SH NAME
audit_name_to_flag \- Convert the rule-matching filter name to the numeric rule-matching filter value
.SH "SYNOPSIS"
.nf
.B #include <libaudit.h>
.PP
.BI "int audit_name_to_flag(const char " *flag );
.fi
.SH "DESCRIPTION"
.BR audit_name_to_flag ()
converts the rule-matching filter name ("task", "exit", "user", "exclude", "filesystem") to the numeric rule-matching filter value (AUDIT_FILTER_TASK, AUDIT_FILTER_EXIT, AUDIT_FILTER_USER, AUDIT_FILTER_EXCLUDE, AUDIT_FILTER_FS).
.I flag
is the rule-matching filter name.

.SH "RETURN VALUE"

Returns -1 if an error occurs; otherwise, the return value is the numeric rule-matching filter value.

.SH "SEE ALSO"

.BR audit_flag_to_name (3),

.SH AUTHOR
Steve Grubb