audit_set_loginuid_immutable - Man Page
make loginuid value immutable
Synopsis
#include <libaudit.h>
int audit_set_loginuid_immutable(int fd);"
Description
audit_set_loginuid_immutable() locks the loginuid so that it can no longer be changed. The descriptor fd must be an open audit netlink socket. This call is equivalent to using audit_set_feature() to enable and lock the AUDIT_FEATURE_LOGINUID_IMMUTABLE bit.
Return Value
The return value is <= 0 on error, otherwise it is the netlink sequence id number.
See Also
Author
Steve Grubb
Info
July 2025 Red Hat Linux Audit API