AUDIT_SYSCALL_TO_NAME(3)
β¨ AUDIT_SYSCALL_TO_NAME(3) β¨
okay so bestie, gather round π this is the AUDIT_SYSCALL_TO_NAME(3) page from the Linux Audit API, and it's literally the glow-up translator you didn't know you needed. she takes a boring number and turns it into a whole name. no cap.
πΈ NAME πΈ
audit_syscall_to_name β convert the numeric syscall value to the syscall name π¦
like. she's a name-revealer. a number-to-identity pipeline. the fairy godmother of syscalls π§
π SYNOPSIS π
#include <libaudit.h>
const char *audit_syscall_to_name(int sc, int machine);
π DESCRIPTION π
so audit_syscall_to_name() converts the numeric syscall value into the syscall name. that's the whole gig. she ate and left no crumbs π
the deets:
scβ this is the numeric syscall value. just a lil number, minding its own business.machineβ this is the enum value of the machine type, and it's defined inmachine_t. iconic. you can grab amachineby callingaudit_detect_machine(3). yup, she's the plug for that π«Ά
β RETURN VALUE β
- Returns
NULLif an error occurs π (sad girl hours). - Otherwise, the return value is the syscall name β¨ (main character moment).
π SEE ALSO π
audit_name_to_syscall(3)β the reverse baddie πaudit_detect_machine(3)β go get yourmachinevalue here π
π AUTHOR π
Steve Grubb π the author, the legend, the moment.
and that's the whole vibe check, bestie π this page came from Red Hat, dated Nov 2021, and it lives at AUDIT_SYSCALL_TO_NAME(3) β go forth and convert those syscalls, you absolute icon πβ¨π¦
π¦ where this page comes from
- alpine 3.22: audit-doc 4.0.3-r0 Β· LGPL-2.1-or-later
- 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
- centos-stream 9: audit-libs-devel 3.1.5-9.el9 Β· LGPLv2+
- centos-stream 9: audit-libs-devel 3.1.5-9.el9 Β· LGPLv2+
- debian bookworm: libaudit-dev 1:3.0.9-1 Β· GPL-2.0-only
- debian trixie: libaudit-dev 1:4.0.2-2+deb13u1 Β· GPL-2.0-only
- 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
- opensuse-leap 16.0: audit-devel 4.0-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: audit-devel 4.0-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: audit-devel 4.0-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: audit-devel 4.0-160000.2.2 Β· LGPL-2.1-or-later
- ubuntu jammy: libaudit-dev 1:3.0.7-1build1 Β· GPL-2.0-only
- ubuntu jammy: libaudit-dev 1:3.0.7-1ubuntu0.1 Β· GPL-2.0-only
- ubuntu noble: libaudit-dev 1:3.1.2-2.1build1 Β· GPL-2.0-only
- ubuntu noble: libaudit-dev 1:3.1.2-2.1ubuntu0.1 Β· GPL-2.0-only
- ubuntu questing: libaudit-dev 1:4.0.5-1build1
- 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