Debian Codegraph @

upstream/debian-unstable/man3/audit_reset_lost.3

raw
1 .TH "AUDIT_RESET_LOST" "3" "July 2025" "Red Hat" "Linux Audit API"
2 .SH NAME
3 audit_reset_lost \- reset lost event counter
4 .SH SYNOPSIS
5 .B #include <libaudit.h>
6 .sp
7 .BI "int audit_reset_lost(int " fd ");"
8 .SH DESCRIPTION
9 .BR audit_reset_lost ()
10 resets the kernel's lost event counter using the descriptor
11 .I fd
12 which must be an open audit netlink socket. This call requires that the kernel
13 support
14 .BR AUDIT_FEATURE_BITMAP_LOST_RESET .
15 .SH RETURN VALUE
16 The return value is <= 0 on error, otherwise it is the netlink sequence id number.
17 .SH SEE ALSO
18 .BR audit_get_features (3),
19 .BR audit_open (3),
20 .BR auditctl (8).
21 .SH AUTHOR
22 Steve Grubb