Systemd/src/timesync
Lennart Poettering fb29cdbef2 tree-wide: make sure our control buffers are properly aligned
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.
2020-05-07 14:39:44 +02:00
..
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 tree-wide: make sure our control buffers are properly aligned 2020-05-07 14:39:44 +02:00
timesyncd-manager.h
timesyncd-ntp-message.h
timesyncd-server.c
timesyncd-server.h
timesyncd.c
timesyncd.conf.in