audit_set_loginuid_immutable3
Make loginuid value immutable
Usage
int audit_set_loginuid_immutable(int
fd);"
Overview
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.