Home
last modified time | relevance | path

Searched refs:CLOCK_FILE (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/timesync/
Dtimesyncd.c36 fd = open(CLOCK_FILE, O_RDWR|O_CLOEXEC, 0644); in load_clock_timestamp()
53 … log_warning_errno(r, "Failed to chmod or chown %s, ignoring: %m", CLOCK_FILE); in load_clock_timestamp()
65 r = touch_file(CLOCK_FILE, /* parents= */ false, min, uid, gid, 0644); in load_clock_timestamp()
67 log_debug_errno(r, "Failed to create %s, ignoring: %m", CLOCK_FILE); in load_clock_timestamp()
168 r = touch(CLOCK_FILE); in run()
170 log_debug_errno(r, "Failed to touch " CLOCK_FILE ", ignoring: %m"); in run()
Dtimesyncd-manager.h36 #define CLOCK_FILE STATE_DIR "/clock" macro
Dtimesyncd-manager.c1209 r = touch_file(CLOCK_FILE, false, t, UID_INVALID, GID_INVALID, MODE_INVALID); in manager_save_time_and_rearm()
1211 log_debug_errno(r, "Failed to update " CLOCK_FILE ", ignoring: %m"); in manager_save_time_and_rearm()