audit_reset_lost - Man Page

reset lost event counter

Synopsis

#include <libaudit.h>

int audit_reset_lost(int fd);

Description

audit_reset_lost() resets the kernel's lost event counter using the descriptor fd which must be an open audit netlink socket.  This call requires that the kernel support AUDIT_FEATURE_BITMAP_LOST_RESET.

Return Value

The return value is <= 0 on error, otherwise it is the netlink sequence id number.

See Also

audit_get_features(3), audit_open(3), auditctl(8).

Author

Steve Grubb

Referenced By

audit_get_features(3).

July 2025 Red Hat Linux Audit API