From: Serge E. Hallyn Date: Tue, 27 Mar 2007 05:32:22 +0000 (-0800) Subject: [PATCH] utsns: fix !CONFIG_UTS_NS behavior X-Git-Tag: v2.6.21-rc6~100 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78d832f62643ac6209beccbfb29228314423935e;p=pandora-kernel.git [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 Cc: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed