Lines Matching refs:audit
35 #include "audit-fd.h"
54 with the audit data. We then need to just copy the audit data into the msgbuf.
62 const struct audit_info *audit = auditdata;
69 if (sd_bus_creds_get_audit_login_uid(audit->creds, &login_uid) >= 0)
71 if (sd_bus_creds_get_euid(audit->creds, &uid) >= 0)
73 if (sd_bus_creds_get_egid(audit->creds, &gid) >= 0)
79 audit->path ? " path=\"" : "", strempty(audit->path), audit->path ? "\"" : "",
80 audit->cmdline ? " cmdline=\"" : "", strempty(audit->cmdline), audit->cmdline ? "\"" : "");
105 events happen. If audit is turned on, messages will be reported
106 using audit netlink, otherwise they will be logged using the usual