diff options
author | Serge E. Hallyn <serue@us.ibm.com> | 2007-03-26 21:32:22 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-27 09:05:15 -0700 |
commit | 78d832f62643ac6209beccbfb29228314423935e (patch) | |
tree | 07f438ab6e780f39adf8c98d8f0d2f36b9c9ebc4 /mm/vmstat.c | |
parent | 62b3e920ed7612f318126f9c9b37c6a8dcd4199e (diff) |
[PATCH] utsns: fix !CONFIG_UTS_NS behavior
When CONFIG_UTS_NS=n, clone(CLONE_NEWUTS) quietly refuses. So correctly does
not unshare a new uts namespace, but also does not return -EINVAL.
Fix this to return -EINVAL so the caller knows his request was denied.
Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/vmstat.c')
0 files changed, 0 insertions, 0 deletions