2.3.0.36.8 seems to work with latest user-space tools, let's test it...
authorS.Çağlar Onur <caglar@cs.princeton.edu>
Mon, 19 Apr 2010 18:18:42 +0000 (18:18 +0000)
committerS.Çağlar Onur <caglar@cs.princeton.edu>
Mon, 19 Apr 2010 18:18:42 +0000 (18:18 +0000)
delta-pivot-fix01.diff [deleted file]
kernel-2.6.spec
sources

diff --git a/delta-pivot-fix01.diff b/delta-pivot-fix01.diff
deleted file mode 100644 (file)
index 38216c3..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -NurpP --minimal linux-2.6.29-vs2.3.0.36.9-pre4/fs/namespace.c linux-2.6.29-vs2.3.0.36.9-pre5/fs/namespace.c
---- linux-2.6.29-vs2.3.0.36.9-pre4/fs/namespace.c      2009-03-24 14:48:35.000000000 +0100
-+++ linux-2.6.29-vs2.3.0.36.9-pre5/fs/namespace.c      2009-04-10 23:15:11.000000000 +0200
-@@ -2278,9 +2278,10 @@ SYSCALL_DEFINE2(pivot_root, const char _
-       down_write(&namespace_sem);
-       mutex_lock(&old.dentry->d_inode->i_mutex);
-       error = -EINVAL;
--      if (IS_MNT_SHARED(old.mnt) ||
-+      if ((IS_MNT_SHARED(old.mnt) ||
-               IS_MNT_SHARED(new.mnt->mnt_parent) ||
--              IS_MNT_SHARED(root.mnt->mnt_parent))
-+              IS_MNT_SHARED(root.mnt->mnt_parent)) &&
-+              !vx_flags(VXF_STATE_SETUP, 0))
-               goto out2;
-       if (!check_mnt(root.mnt))
-               goto out2;
index 0a2fad1..527ab31 100644 (file)
@@ -41,7 +41,7 @@ Summary: The Linux kernel (the core of the Linux operating system)
 %define kversion 2.6.%{sublevel}
 %define rpmversion 2.6.%{sublevel}%{?patchlevel:.%{patchlevel}}
 
-%define vsversion 2.3.0.36.4
+%define vsversion 2.3.0.36.8
 
 # Will go away when VServer supports NetNS in mainline. Currently, it must be 
 # updated every time the PL kernel is updated.
@@ -150,7 +150,6 @@ Patch100: linux-2.6-100-build-nonintconfig.patch
 # Linux-VServer
 Patch200: patch-%{rpmversion}-vs%{vsversion}.diff
 Patch220: delta-ptrace-fix01.diff
-Patch230: delta-pivot-fix01.diff
 
 # IP sets
 Patch250: linux-2.6-250-ipsets.patch
@@ -353,7 +352,6 @@ KERNEL_PREVIOUS=vanilla
 # vserver patch
 %ApplyPatch 200
 %ApplyPatch 220
-%ApplyPatch 230
 
 %ApplyPatch 250
 
diff --git a/sources b/sources
index 691a336..6176ae1 100644 (file)
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
 b3e78977aa79d3754cb7f8143d7ddabd  http://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.27.tar.bz2
 9ba438c8ab695b92fed5c170e257bebd  http://ftp.kernel.org/pub/linux/kernel/v2.6/patch-2.6.27.46.bz2
-f5fdebad83fcfaf555725ee8dcdf95e6  http://www.cs.princeton.edu/~caglar/patch-2.6.27.46-vs2.3.0.36.4.diff
+8162fe6b54786224717c2929ceb2a10a  http://www.cs.princeton.edu/~caglar/patch-2.6.27.46-vs2.3.0.36.8.diff