audit_is_enabled - Man Page

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

audit_set_enabled(3).

Author

Steve Grubb

Info

May 2021 Red Hat Linux Audit API