* [PATCH] userns: Allow init_user_ns to be used from non-gpl modules
@ 2016-05-23 12:00 Nikolay Borisov
[not found] ` <1464004808-21214-1-git-send-email-n.borisov.lkml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-05-23 16:58 ` Eric W. Biederman
0 siblings, 2 replies; 6+ 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] 6+ 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; 6+ messages in thread
From: Serge Hallyn @ 2016-05-23 15:12 UTC (permalink / raw)
To: Nikolay Borisov
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
ebiederman-aS9lmoZGLiVWk0Htik3J/w,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
Quoting Nikolay Borisov (n.borisov.lkml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org):
> 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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Seems reasonable to me,
Acked-by: Serge E. Hallyn <serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA@public.gmane.org>
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] 6+ messages in thread
* Re: [PATCH] userns: Allow init_user_ns to be used from non-gpl modules
@ 2016-05-23 15:12 ` Serge Hallyn
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
* Re: [PATCH] userns: Allow init_user_ns to be used from non-gpl modules
[not found] ` <1464004808-21214-1-git-send-email-n.borisov.lkml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-05-23 15:12 ` Serge Hallyn
@ 2016-05-23 16:58 ` Eric W. Biederman
1 sibling, 0 replies; 6+ messages in thread
From: Eric W. Biederman @ 2016-05-23 16:58 UTC (permalink / raw)
To: Nikolay Borisov
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA,
ebiederm-aS9lmoZGLiVWk0Htik3J/w,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
Nikolay Borisov <n.borisov.lkml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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] 6+ 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
[not found] ` <1464004808-21214-1-git-send-email-n.borisov.lkml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2016-05-23 16:58 ` Eric W. Biederman
1 sibling, 0 replies; 6+ 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] 6+ messages in thread
* [PATCH] userns: Allow init_user_ns to be used from non-gpl modules
@ 2016-05-23 12:00 Nikolay Borisov
0 siblings, 0 replies; 6+ messages in thread
From: Nikolay Borisov @ 2016-05-23 12:00 UTC (permalink / raw)
To: ebiederman-aS9lmoZGLiVWk0Htik3J/w
Cc: containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA,
serge.hallyn-GeWIH/nMZzLQT0dZR+AlfA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
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] 6+ messages in thread
end of thread, other threads:[~2016-05-23 17:09 UTC | newest]
Thread overview: 6+ 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
[not found] ` <1464004808-21214-1-git-send-email-n.borisov.lkml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-05-23 15:12 ` Serge Hallyn
2016-05-23 15:12 ` Serge Hallyn
2016-05-23 16:58 ` Eric W. Biederman
2016-05-23 16:58 ` Eric W. Biederman
2016-05-23 12:00 Nikolay Borisov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.