summaryrefslogtreecommitdiffstats
path: root/src/basic/namespace-util.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/basic/namespace-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/namespace-util.h b/src/basic/namespace-util.h
index a15e262edf..e7cf1a2201 100644
--- a/src/basic/namespace-util.h
+++ b/src/basic/namespace-util.h
@@ -35,6 +35,7 @@ int fd_is_ns(int fd, unsigned long nsflag);
int detach_mount_namespace(void);
int detach_mount_namespace_harder(uid_t target_uid, gid_t target_gid);
+int detach_mount_namespace_userns(int userns_fd);
static inline bool userns_shift_range_valid(uid_t shift, uid_t range) {
/* Checks that the specified userns range makes sense, i.e. contains at least one UID, and the end