diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-02-12 11:44:48 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-02-12 11:45:39 +0100 |
commit | a38d99451f2bf8026ec51aee91662292e823c6a8 (patch) | |
tree | 312f02b7057b65dbaf42c796f814f43b064ef9ab /src/timesync | |
parent | d01efa07444e49aafd78e0aa822168da688d53f5 (diff) |
Revert "tree-wide: Always use recvmsg with MSG_CMSG_CLOEXEC"
This reverts commit d6d810fbf8071f8510450dbacd1d083f37603656.
It's apparently not OK to pass MSG_CMSG_CLOEXEC to recvmsg() of raw
sockets.
Diffstat (limited to 'src/timesync')
-rw-r--r-- | src/timesync/timesyncd-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timesync/timesyncd-manager.c b/src/timesync/timesyncd-manager.c index edddc2f05e..223671c087 100644 --- a/src/timesync/timesyncd-manager.c +++ b/src/timesync/timesyncd-manager.c @@ -516,7 +516,7 @@ static int manager_receive_response(sd_event_source *source, int fd, uint32_t re return manager_connect(m); } - len = recvmsg(fd, &msghdr, MSG_DONTWAIT|MSG_CMSG_CLOEXEC); + len = recvmsg(fd, &msghdr, MSG_DONTWAIT); if (len < 0) { if (errno == EAGAIN) return 0; |