chiark / gitweb /
util: add functions getting proc cwd and root
[elogind.git] / src / shared / util.h
index 835fee496d6ff30e4e89217d8f46b65537075805..fc59481b997090441a0ada7aff022f59e58c55c9 100644 (file)
@@ -295,6 +295,8 @@ int get_process_exe(pid_t pid, char **name);
 int get_process_uid(pid_t pid, uid_t *uid);
 int get_process_gid(pid_t pid, gid_t *gid);
 int get_process_capeff(pid_t pid, char **capeff);
+int get_process_cwd(pid_t pid, char **cwd);
+int get_process_root(pid_t pid, char **root);
 
 char hexchar(int x) _const_;
 int unhexchar(char c) _const_;