Searched defs:audit_fd (Results 1 - 4 of 4) sorted by relevance

/systemd/src/core/
H A Daudit-fd.c35 static int audit_fd; variable
40 audit_fd = audit_open();
42 if (audit_fd < 0) {
46 audit_fd = errno ? -errno : -EINVAL;
52 return audit_fd;
57 if (initialized && audit_fd >= 0)
58 safe_close(audit_fd);
61 audit_fd = -ECONNRESET;
H A Dmanager.c2113 int audit_fd, r; local
2118 audit_fd = get_audit_fd();
2119 if (audit_fd < 0)
2137 if (audit_log_user_comm_message(audit_fd, type, msg, "systemd", NULL, NULL, NULL, success) < 0) {
/systemd/src/update-utmp/
H A Dupdate-utmp.c44 int audit_fd; member in struct:Context
127 if (c->audit_fd >= 0)
128 if (audit_log_user_comm_message(c->audit_fd, AUDIT_SYSTEM_BOOT, "", "systemd-update-utmp", NULL, NULL, NULL, 1) < 0 &&
156 if (c->audit_fd >= 0)
157 if (audit_log_user_comm_message(c->audit_fd, AUDIT_SYSTEM_SHUTDOWN, "", "systemd-update-utmp", NULL, NULL, NULL, 1) < 0 &&
200 if (c->audit_fd >= 0) {
208 if (audit_log_user_comm_message(c->audit_fd, AUDIT_SYSTEM_RUNLEVEL, s, "systemd-update-utmp", NULL, NULL, NULL, 1) < 0 && errno != EPERM)
225 .audit_fd = -1
249 c.audit_fd = audit_open();
250 if (c.audit_fd <
[all...]
/systemd/src/journal/
H A Djournald-server.h57 int audit_fd; member in struct:Server

Completed in 1890 milliseconds