summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-05-20 14:41:39 +0200
committerLennart Poettering <lennart@poettering.net>2015-05-20 14:41:39 +0200
commitb4da6d6bec4d303f90d957b2cf7d4eed678b1791 (patch)
tree2393242479acf166119906995bf407a4b7a3e39a /src/shared/util.h
parent417a7fdc418ec76cc4c321c9a07ec15c72b3ac7d (diff)
util: introduce reset_uid_gid() for resetting all uids and gids to 0
Diffstat (limited to 'src/shared/util.h')
-rw-r--r--src/shared/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/util.h b/src/shared/util.h
index f0382f0d68..24a2672846 100644
--- a/src/shared/util.h
+++ b/src/shared/util.h
@@ -908,3 +908,5 @@ char *shell_maybe_quote(const char *s);
int parse_mode(const char *s, mode_t *ret);
int mount_move_root(const char *path);
+
+int reset_uid_gid(void);