summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2012-12-10 02:19:52 +0100
committerEric W. Biederman <ebiederm@xmission.com>2012-12-15 03:36:36 +0100
commit5155040ed349950e16c093ba8e65ad534994df2a (patch)
tree2b58aab3a6c1a6f42c0716e0c4bb60e86188bb80 /kernel
parentuserns: Add a more complete capability subset test to commit_creds (diff)
downloadlinux-5155040ed349950e16c093ba8e65ad534994df2a.tar.xz
linux-5155040ed349950e16c093ba8e65ad534994df2a.zip
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>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/user_namespace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/user_namespace.c b/kernel/user_namespace.c
index f5975ccf9348..2b042c42fbc4 100644
--- a/kernel/user_namespace.c
+++ b/kernel/user_namespace.c
@@ -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(&current->mm->mm_users) > 1)
return -EINVAL;