chiark / gitweb /
journal: split user logs into their own journal files
[elogind.git] / src / util.h
index 1a2dd5825da45eaa359db7f0f34cb510c02bcdbf..89a7bec61280c89171ab9eda0a5b9e145c0190db 100644 (file)
@@ -366,6 +366,7 @@ int get_ctty_devnr(pid_t pid, dev_t *d);
 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 rm_rf(const char *path, bool only_dirs, bool delete_root, bool honour_sticky);