chiark / gitweb /
journal: fix field retrieval by name
[elogind.git] / src / util.h
index 1a2dd5825da45eaa359db7f0f34cb510c02bcdbf..1db82f83e0a4ba7d2b2588d1c996507dbc99ed83 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);
 
@@ -514,4 +515,6 @@ bool kexec_loaded(void);
 
 int prot_from_flags(int flags);
 
+unsigned long cap_last_cap(void);
+
 #endif