Home
last modified time | relevance | path

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

/systemd-251/src/hostname/
Dhostnamed.c98 struct stat current_stat = {}; in context_read_etc_hostname() local
103 if (stat("/etc/hostname", &current_stat) >= 0 && in context_read_etc_hostname()
104 stat_inode_unmodified(&c->etc_hostname_stat, &current_stat)) in context_read_etc_hostname()
113 c->etc_hostname_stat = current_stat; in context_read_etc_hostname()
117 struct stat current_stat = {}; in context_read_machine_info() local
122 if (stat("/etc/machine-info", &current_stat) >= 0 && in context_read_machine_info()
123 stat_inode_unmodified(&c->etc_machine_info_stat, &current_stat)) in context_read_machine_info()
146 c->etc_machine_info_stat = current_stat; in context_read_machine_info()
150 struct stat current_stat = {}; in context_read_os_release() local
155 if ((stat("/etc/os-release", &current_stat) >= 0 || in context_read_os_release()
[all …]