From b4da6d6bec4d303f90d957b2cf7d4eed678b1791 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 20 May 2015 14:41:39 +0200 Subject: util: introduce reset_uid_gid() for resetting all uids and gids to 0 --- src/shared/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/shared/util.h') 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); -- cgit v1.2.3-54-g00ecf