AUDIT_IS_ENABLED(3) | Linux Audit API | AUDIT_IS_ENABLED(3) |
NAME
audit_is_enabled - judge whether auditing is enabled or not
SYNOPSIS
#include <libaudit.h>
int audit_is_enabled(int fd);
DESCRIPTION
audit_is_enabled() judges whether auditing is enabled or not. fd must have been returned by audit_open(3).
RETURN VALUE
This function will return 0 if auditing is NOT enabled and 1 if enabled, and -1 on error.
SEE ALSO
AUTHOR
Steve Grubb
May 2021 | Red Hat |