From e97d33d7b6a80daf4508dba7c69e96f7977ce436 Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Wed, 16 May 2018 14:11:54 +0200 Subject: POTD skeleton #57. Signed-off-by: Toni Uhlig --- src/utils.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/utils.h') diff --git a/src/utils.h b/src/utils.h index 825f621..360cc3f 100644 --- a/src/utils.h +++ b/src/utils.h @@ -41,6 +41,8 @@ int create_device_file_checked(const char *mount_path, const char *device_file, int create_device_files(const char *mount_path); -int update_uid_map(pid_t pid, unsigned int uid_map[3]); +int update_guid_map(pid_t pid, unsigned int uid_map[3], int update_uidmap); + +int update_setgroups_self(int allow); #endif -- cgit v1.2.3