Name

audit_get_loginuid — get the loginuid for an audit_context

Synopsis

uid_t audit_get_loginuid (struct audit_context * ctx);
 

Arguments

ctx

the audit_context

Description

Returns the context's loginuid or -1 if ctx is NULL.