mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] userns: Allow init_user_ns to be used from non-gpl modules
@ 2016-05-23 12:00 Nikolay Borisov
  2016-05-23 15:12 ` Serge Hallyn
  2016-05-23 16:58 ` Eric W. Biederman
  0 siblings, 2 replies; 3+ messages in thread
From: Nikolay Borisov @ 2016-05-23 12:00 UTC (permalink / raw)
  To: ebiederman; +Cc: serge.hallyn, containers, linux-kernel, Nikolay Borisov

This patch changes the export attributes of the init_user_ns from
GPL-only to any modules. This needed so that non-gpl modules, such as
ZFS, utilize functions like i_(uid|gid)_(read|write).

Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com>
---
 kernel/user.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/user.c b/kernel/user.c
index b069ccbfb0b0..8bbd4e628b6e 100644
--- a/kernel/user.c
+++ b/kernel/user.c
@@ -60,7 +60,7 @@ struct user_namespace init_user_ns = {
 	__RWSEM_INITIALIZER(init_user_ns.persistent_keyring_register_sem),
 #endif
 };
-EXPORT_SYMBOL_GPL(init_user_ns);
+EXPORT_SYMBOL(init_user_ns);
 
 /*
  * UID task count cache, to get fast user lookup in "alloc_uid"
-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-23 17:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-23 12:00 [PATCH] userns: Allow init_user_ns to be used from non-gpl modules Nikolay Borisov
2016-05-23 15:12 ` Serge Hallyn
2016-05-23 16:58 ` Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®