chiark / gitweb /
machine-id-setup: add a machine_id_commit call to commit on disk a transient machine-id
[elogind.git] / src / shared / util.h
index b53a45da9dc6f55d16d817c7ff9dacd784474ab5..0b7c77b1d4157a30a3b632e7739f0bb61fa5f14d 100644 (file)
@@ -454,6 +454,8 @@ int get_ctty(pid_t, dev_t *_devnr, char **r);
 int chmod_and_chown(const char *path, mode_t mode, uid_t uid, gid_t gid);
 int fchmod_and_fchown(int fd, mode_t mode, uid_t uid, gid_t gid);
 
+int is_fd_on_temporary_fs(int fd);
+
 int rm_rf_children(int fd, bool only_dirs, bool honour_sticky, struct stat *root_dev);
 int rm_rf_children_dangerous(int fd, bool only_dirs, bool honour_sticky, struct stat *root_dev);
 int rm_rf(const char *path, bool only_dirs, bool delete_root, bool honour_sticky);