AUSEARCH_NEXT_EVENT(3)
π NAME π
ausearch_next_event β find the next event that meets search criteria π
Okay bestie, so this is a <auparse.h> girly and she's the one who goes hunting through your audit stream for the next event that actually matches what you're looking for. Main character energy, truly.
β¨ SYNOPSIS β¨
#include <auparse.h>
int ausearch_next_event(auparse_state_t *au);"
Like, she takes one argument (au) and she gives you back an int. That's the whole vibe. π
π¦ DESCRIPTION π¦
okay so here's the tea π
ausearch_next_event will scan the input source and evaluate whether any record in an event contains the data being searched for. That's it, that's the job. She's out here vibe-checking your events one by one to see if any of them are giving what you asked for.
The important deets: evaluation is done at the record level. Not the event level, not the "ehhh close enough" level. Record level. Periodt. π
π RETURN VALUE π
She comes back with one of three numbers, and honestly it's giving traffic light:
-1β π an error happened, something went wrong, not the move0β π no matches, nothing for you here bestie1β β¨ success!! we ate, we found it π₯
πΈ SEE ALSO πΈ
Go give these sisters some love too, they're all in the same friend group:
π AUTHOR π
Steve Grubb π«Ά (the icon, the legend, we stan)
and that's a wrap!! π this little beauty comes to you from Red Hat, dating all the way back to Feb 2007 πΈ β the <AUSEARCH_NEXT_EVENT(3)> page itself, one of the classics. go forth and find your events, bestie π¦β¨
π¦ where this page comes from
- alpine 3.23: audit-doc 4.1.2-r2 Β· LGPL-2.1-or-later
- alpine 3.24: audit-doc 4.1.2-r6 Β· LGPL-2.1-or-later
- arch rolling: audit 4.2.1-1 Β· GPL-2.0-or-later AND LGPL-2.0-or-later
- centos-stream 10: audit-libs-devel 4.2.1-3.el10 Β· LGPL-2.0-or-later
- fedora 43: audit-libs-devel 4.1.1-2.fc43 Β· LGPL-2.0-or-later
- fedora 43: audit-libs-devel 4.1.1-2.fc43 Β· LGPL-2.0-or-later
- fedora 43: audit-libs-devel 4.2.1-1.fc43 Β· LGPL-2.0-or-later
- fedora 43: audit-libs-devel 4.2.1-1.fc43 Β· LGPL-2.0-or-later
- fedora 44: audit-libs-devel 4.1.4-1.fc44 Β· LGPL-2.0-or-later
- fedora 44: audit-libs-devel 4.1.4-1.fc44 Β· LGPL-2.0-or-later
- fedora 44: audit-libs-devel 4.2.1-1.fc44 Β· LGPL-2.0-or-later
- fedora 44: audit-libs-devel 4.2.1-1.fc44 Β· LGPL-2.0-or-later
- nixpkgs unstable: audit 4.2.1
- ubuntu resolute: libauparse-dev 1:4.1.2-1build1 Β· GPL-2.0-only
- ubuntu resolute: libauparse-dev 1:4.1.2-1ubuntu0.1 Β· GPL-2.0-only
- ubuntu stonking: libauparse-dev 1:4.1.2-1ubuntu1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms