git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62b3e92
)
[PATCH] utsns: fix !CONFIG_UTS_NS behavior
author
Serge E. Hallyn
<serue@us.ibm.com>
Tue, 27 Mar 2007 05:32:22 +0000
(21:32 -0800)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Tue, 27 Mar 2007 16:05:15 +0000
(09:05 -0700)
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>
include/linux/utsname.h
patch
|
blob
|
history
diff --cc
include/linux/utsname.h
Simple merge