Skip to content

Commit

Permalink
userns: Fix typo in description of the limitation of userns_install
Browse files Browse the repository at this point in the history
Acked-by: Serge Hallyn <[email protected]>
Signed-off-by: "Eric W. Biederman" <[email protected]>
  • Loading branch information
ebiederm committed Dec 15, 2012
1 parent aa6d054 commit 5155040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/user_namespace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 5155040

Please sign in to comment.