diff options
author | Cristian RodrÃguez <crrodriguez@opensuse.org> | 2015-02-10 12:06:24 -0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-02-10 21:20:16 +0100 |
commit | d6d810fbf8071f8510450dbacd1d083f37603656 (patch) | |
tree | 46b41b077868b01b939f37912663108a2193a694 /src/timesync | |
parent | 332560792c6ef0b5c3d9719801b64d0d5f374639 (diff) |
tree-wide: Always use recvmsg with MSG_CMSG_CLOEXEC
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 223671c087..edddc2f05e 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); + len = recvmsg(fd, &msghdr, MSG_DONTWAIT|MSG_CMSG_CLOEXEC); if (len < 0) { if (errno == EAGAIN) return 0; |