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())
|
if (user_ns == current_user_ns())
|
||||||
return -EINVAL;
|
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)
|
if (atomic_read(¤t->mm->mm_users) > 1)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue