chiark / gitweb /
udev: tag virtio serial ports with systemd by default
[elogind.git] / src / util.h
index 083da2a545f8660ba4485f788f7a91549311aa0e..411efae93373a747d1318bb634d67864cb691f7e 100644 (file)
@@ -445,6 +445,8 @@ int audit_session_from_pid(pid_t pid, uint32_t *id);
 bool display_is_local(const char *display);
 int socket_from_display(const char *display, char **path);
 
+int get_user_creds(const char **username, uid_t *uid, gid_t *gid, const char **home);
+
 #define NULSTR_FOREACH(i, l)                                    \
         for ((i) = (l); (i) && *(i); (i) = strchr((i), 0)+1)