AUDIT_DELETE_RULE_DATA(3)
β¨ NAME β¨
okay so bestie, welcome to the AUDIT_DELETE_RULE_DATA(3) page from the Linux Audit API π this one is about audit_delete_rule_data β literally delete an audit rule. periodt.
πΈ SYNOPSIS πΈ
#include <libaudit.h>
int audit_delete_rule_data(int fd, struct audit_rule_data *rule, int flags, int action);"
π¦ DESCRIPTION π¦
audit_delete_rule_data is used to delete rules that are currently loaded in the kernel. π
The file descriptor is given in fd, and the rule description is in rule. π
To delete a rule, you must set up the rules identical to the one being deleted. like, no cap, exact same setup or it's not gonna vibe. π
See audit_add_rule_data for flags and action definitions. π«Ά
β RETURN VALUE β
The return value is <= 0 on error, otherwise it is the netlink sequence id number. β¨
This function can have any error that sendto would encounter. π
π SEE ALSO π
π AUTHOR π
Steve Grubb π
and that's the whole vibe bestie! this page came from Red Hat, dated Oct 2006, and it's the AUDIT_DELETE_RULE_DATA(3) manual page. π«Άπ
π¦ 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: libaudit-dev 1:4.1.2-1build1 Β· GPL-2.0-only
- ubuntu resolute: libaudit-dev 1:4.1.2-1ubuntu0.1 Β· GPL-2.0-only
- ubuntu stonking: libaudit-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