linux-kernel.vger.kernel.org archive mirror
 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 related	[flat|nested] 3+ messages in thread

* Re: [PATCH] userns: Allow init_user_ns to be used from non-gpl modules
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Serge Hallyn @ 2016-05-23 15:12 UTC (permalink / raw)
  To: Nikolay Borisov; +Cc: ebiederman, containers, linux-kernel

Quoting Nikolay Borisov (n.borisov.lkml@gmail.com):
> 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>

Seems reasonable to me,

Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>

but it seems clear the decision belongs to Eric.

thanks,
-serge

> ---
>  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

* Re: [PATCH] userns: Allow init_user_ns to be used from non-gpl modules
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Eric W. Biederman @ 2016-05-23 16:58 UTC (permalink / raw)
  To: Nikolay Borisov; +Cc: ebiederm, serge.hallyn, containers, linux-kernel

Nikolay Borisov <n.borisov.lkml@gmail.com> writes:

> 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).

It is my belief that linux kernel modules are of necessity derivatives
of the linux kernel and as such need to be covered under the GPLv2 or a
compatible license.

As such I will not accept any patches whose purpose is to facilitate a
different understanding of the license of the linux kernel.

Eric

^ 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;
as well as URLs for NNTP newsgroup(s).