summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2007-02-01 00:23:55 +0000
committerBenedikt Boehm <hollow@gentoo.org>2007-02-01 00:23:55 +0000
commitb5eb8a453d3f05a34cf08c46b514fb3d76424c40 (patch)
treea3e643947a8f177f0c94fcdf02ffe525e8dfd38f /vserver-sources/old/2.2.0_rc8/4414_delta-noforkns-fix01.patch
parentadd 2.2.0_rc8 (diff)
downloadmisc-b5eb8a453d3f05a34cf08c46b514fb3d76424c40.tar.gz
misc-b5eb8a453d3f05a34cf08c46b514fb3d76424c40.tar.bz2
misc-b5eb8a453d3f05a34cf08c46b514fb3d76424c40.zip
version bump
svn path=/; revision=538
Diffstat (limited to 'vserver-sources/old/2.2.0_rc8/4414_delta-noforkns-fix01.patch')
-rw-r--r--vserver-sources/old/2.2.0_rc8/4414_delta-noforkns-fix01.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/vserver-sources/old/2.2.0_rc8/4414_delta-noforkns-fix01.patch b/vserver-sources/old/2.2.0_rc8/4414_delta-noforkns-fix01.patch
new file mode 100644
index 0000000..8270d96
--- /dev/null
+++ b/vserver-sources/old/2.2.0_rc8/4414_delta-noforkns-fix01.patch
@@ -0,0 +1,14 @@
+diff -Nurp linux-2.6.19.2-vs2.2.0-rc8/kernel/fork.c linux-2.6.19.2-vs2.2.0-rc8.noforkns/kernel/fork.c
+--- linux-2.6.19.2-vs2.2.0-rc8/kernel/fork.c 2007-01-11 18:10:53.000000000 +0100
++++ linux-2.6.19.2-vs2.2.0-rc8.noforkns/kernel/fork.c 2007-01-20 11:52:45.000000000 +0100
+@@ -1413,10 +1413,6 @@ long do_fork(unsigned long clone_flags,
+ return -EPERM;
+ }
+
+- /* fake ipc/uts on namespace */
+- if (clone_flags & CLONE_NEWNS)
+- clone_flags |= CLONE_NEWUTS|CLONE_NEWIPC;
+-
+ nr = pid->nr;
+ if (unlikely(current->ptrace)) {
+ trace = fork_traceflag (clone_flags);