fb29cdbef2
We always need to make them unions with a "struct cmsghdr" in them, so that things properly aligned. Otherwise we might end up at an unaligned address and the counting goes all wrong, possibly making the kernel refuse our buffers. Also, let's make sure we initialize the control buffers to zero when sending, but leave them uninitialized when reading. Both the alignment and the initialization thing is mentioned in the cmsg(3) man page. |
||
---|---|---|
.. | ||
80-systemd-timesync.list | ||
meson.build | ||
org.freedesktop.timesync1.conf | ||
org.freedesktop.timesync1.service | ||
test-timesync.c | ||
timesyncd-bus.c | ||
timesyncd-bus.h | ||
timesyncd-conf.c | ||
timesyncd-conf.h | ||
timesyncd-gperf.gperf | ||
timesyncd-manager.c | ||
timesyncd-manager.h | ||
timesyncd-ntp-message.h | ||
timesyncd-server.c | ||
timesyncd-server.h | ||
timesyncd.c | ||
timesyncd.conf.in |