summaryrefslogtreecommitdiff
path: root/src/journal/journald-audit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-03 23:28:12 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-03 23:28:12 +0100
commit2b0073e1d2fb0611733e0b83bd41cc753b254593 (patch)
tree72a7bc29b446b50960f73d8701e9bd747e9c2275 /src/journal/journald-audit.c
parent29a6c2d02088ff0b5da51b4d9ffe714b106de2f1 (diff)
journald: there's no point in turning on SO_TIMESTAMP for audit sockets, audit doesn't support timestamps anyway
Diffstat (limited to 'src/journal/journald-audit.c')
-rw-r--r--src/journal/journald-audit.c6
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));