mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-04 04:06:26 +00:00
userns: Fix typo in description of the limitation of userns_install
Acked-by: Serge Hallyn <serge.hallyn@canonical.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
This commit is contained in:
parent
aa6d054e5c
commit
5155040ed3
@ -799,7 +799,7 @@ static int userns_install(struct nsproxy *nsproxy, void *ns)
|
||||
if (user_ns == current_user_ns())
|
||||
return -EINVAL;
|
||||
|
||||
/* Threaded many not enter a different user namespace */
|
||||
/* Threaded processes may not enter a different user namespace */
|
||||
if (atomic_read(¤t->mm->mm_users) > 1)
|
||||
return -EINVAL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user