diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-11-03 23:28:12 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-11-03 23:28:12 +0100 |
commit | 2b0073e1d2fb0611733e0b83bd41cc753b254593 (patch) | |
tree | 72a7bc29b446b50960f73d8701e9bd747e9c2275 | |
parent | 29a6c2d02088ff0b5da51b4d9ffe714b106de2f1 (diff) |
journald: there's no point in turning on SO_TIMESTAMP for audit sockets, audit doesn't support timestamps anyway
-rw-r--r-- | src/journal/journald-audit.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/journal/journald-audit.c b/src/journal/journald-audit.c index fe0eec8f47..787ec34bb8 100644 --- a/src/journal/journald-audit.c +++ b/src/journal/journald-audit.c @@ -473,12 +473,6 @@ int server_open_audit(Server *s) { return -errno; } - r = setsockopt(s->audit_fd, SOL_SOCKET, SO_TIMESTAMP, &one, sizeof(one)); - if (r < 0) { - log_error("Failed to set SO_TIMESTAMP on audit socket: %m"); - return -errno; - } - r = sd_event_add_io(s->event, &s->audit_event_source, s->audit_fd, EPOLLIN, process_datagram, s); if (r < 0) { log_error("Failed to add audit fd to event loop: %s", strerror(-r)); |