AUDIT_REQUEST_SIGNAL_INFO(3)
π NAME π
audit_request_signal_info β bestie, this is the one that asks the kernel for signal info for the audit system π«Ά
β¨ SYNOPSIS β¨
#include <libaudit.h>
int audit_request_signal_info(intfd);"
(yes that's literally how it's written, no I did not edit it, we keep the originals exactly as they are okay π)
π DESCRIPTION π
okay so. audit_request_signal_info is the function that goes "hey kernel, pls send us the info about whoever sent this signal" and the kernel sends that info over to the audit daemon. that's the whole vibe. it's a request, the daemon is the one receiving. π
and the signal info structure it's all about? iconic, here she is:
struct audit_sig_info {
uid_t uid;
pid_t pid;
char ctx[0];
};
real talk tho: this one is basically for audit daemons only. like, if you're writing a normal everyday program and you're eyeing this function? don't. it says it shouldn't be called by any other kind of program, and we respect that boundary fr fr π«β¨
π₯ RETURN VALUE π₯
the return value is <= 0 when something goes wrong π β anything in that zone is giving error energy.
otherwise? it hands you the netlink sequence id number and you're slaying π
also heads up: this function can have any error that sendto would encounter. every single one. so don't be surprised. π
πΈ SEE ALSO πΈ
go read those too, they're the supporting cast and they ate π
π AUTHOR π
Steve Grubb β the icon, the moment, the legend π«Ά
lowkey reminder bestie: every detail above is exactly as the original gives it β nothing added, nothing skipped, no cap π§
that's the page, babe! brought to you by Red Hat, dated Feb 2007, and it's AUDIT_REQUEST_SIGNAL_INFO(3) β periodt πβ¨π
π¦ 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