logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

audit_flag_to_name - Convert the numeric rule-matching filter value to the rule-matching filter name

Author

Steve Grubb Red Hat Mar 2022 AUDIT_FLAG_TO_NAME(3)

Description

audit_flag_to_name() converts the numeric rule-matching filter value (AUDIT_FILTER_TASK, AUDIT_FILTER_EXIT, AUDIT_FILTER_USER, AUDIT_FILTER_EXCLUDE, AUDIT_FILTER_FS) to the rule-matching filter name ("task", "exit", "user", "exclude", "filesystem"). flag is the numeric rule-matching filter value.

Name

audit_flag_to_name - Convert the numeric rule-matching filter value to the rule-matching filter name

Return Value

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

See Also

audit_name_to_flag(3),

Synopsis

#include<libaudit.h>constchar*audit_flag_to_name(intflag);

See Also