Patch590: linux-2.6-590-trellis-mm1-netns.patch
Patch591: linux-2.6-591-unshare-netns.patch
-BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root
-
%description
The kernel package contains the Linux kernel (vmlinuz), the core of any
Linux operating system. The kernel handles the basic functions
---- linux-2.6.22-591/kernel/vserver/space.c.orig 2008-01-02 13:56:26.000000000 -0500
+diff -Nurb linux-2.6.22-590/kernel/vserver/space.c linux-2.6.22-591/kernel/vserver/space.c
+--- linux-2.6.22-590/kernel/vserver/space.c 2008-01-02 13:56:26.000000000 -0500
+++ linux-2.6.22-591/kernel/vserver/space.c 2008-01-18 12:10:39.000000000 -0500
@@ -37,7 +37,8 @@
.mask = CLONE_NEWNS |
};
---- linux-2.6.22-591/kernel/nsproxy.c.orig 2008-01-02 13:56:37.000000000 -0500
-+++ linux-2.6.22-591/kernel/nsproxy.c 2008-01-18 14:39:18.000000000 -0500
-@@ -163,7 +163,6 @@
- return 0;
-
- get_nsproxy(old_ns);
-- return 0;
-
- if (!(flags & (CLONE_NEWNS | CLONE_NEWUTS | CLONE_NEWIPC | CLONE_NEWUSER | CLONE_NEWNET)))
- return 0;