Systemd/src/libsystemd/sd-event
Lennart Poettering 3411372e35 tree-wide: don't assume CLOCK_BOOTIME is generally available
Before we invoke now(CLOCK_BOOTTIME), let's make sure we actually have that
clock, since now() will otherwise hit an assert.

Specifically, let's refuse CLOCK_BOOTTIME early in sd-event if the kernel
doesn't actually support it.

This is a follow-up for #3037, and specifically:

https://github.com/systemd/systemd/pull/3037#issuecomment-210199167
2016-04-22 16:06:20 +02:00
..
Makefile libsystemd: split up into subdirs 2014-01-21 14:41:35 +01:00
sd-event.c tree-wide: don't assume CLOCK_BOOTIME is generally available 2016-04-22 16:06:20 +02:00
test-event.c tree-wide: don't assume CLOCK_BOOTIME is generally available 2016-04-22 16:06:20 +02:00