audit_get_loginuid — get the loginuid for an audit_context
uid_t audit_get_loginuid (
)
ctx
the audit_context
Returns the context's loginuid or -1 if ctx is NULL.