From 9cdb37c038d88d86cfdd96f41e4643695ca752b1 Mon Sep 17 00:00:00 2001 From: Seth Forshee Date: Wed, 31 Aug 2016 10:51:10 -0500 Subject: [PATCH] UBUNTU: SAUCE: (namespace) userns: Export current_in_userns to modules BugLink: http://bugs.launchpad.net/bugs/1617550 Building fuse as a module fails because this symbol is not exported. Signed-off-by: Seth Forshee --- kernel/user_namespace.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c index 0628de2..23b4d6e 100644 --- a/kernel/user_namespace.c +++ b/kernel/user_namespace.c @@ -964,6 +964,7 @@ bool current_in_userns(const struct user_namespace *target_ns) } return false; } +EXPORT_SYMBOL(current_in_userns); static inline struct user_namespace *to_user_ns(struct ns_common *ns) { -- 2.7.4