blob: f2c69d397c9db03df5eeec8423257f9dd5debc0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
Index: linux-2.6.17/kernel/vserver/namespace.c
===================================================================
--- linux-2.6.17.orig/kernel/vserver/namespace.c
+++ linux-2.6.17/kernel/vserver/namespace.c
@@ -87,6 +87,7 @@ out_put:
return ret;
}
+#if 0
int vc_cleanup_namespace(uint32_t id, void __user *data)
{
// down_write(¤t->namespace->sem);
@@ -96,6 +97,7 @@ int vc_cleanup_namespace(uint32_t id, vo
// up_write(¤t->namespace->sem);
return 0;
}
+#endif
int vc_set_namespace(uint32_t id, void __user *data)
{
Index: linux-2.6.17/kernel/vserver/switch.c
===================================================================
--- linux-2.6.17.orig/kernel/vserver/switch.c
+++ linux-2.6.17/kernel/vserver/switch.c
@@ -124,8 +124,10 @@ long do_vserver(uint32_t cmd, uint32_t i
/* this is version 1 */
case VCMD_set_namespace:
return vc_set_namespace(id, data);
+#if 0
case VCMD_cleanup_namespace:
return vc_cleanup_namespace(id, data);
+#endif
}
/* those are allowed while in setup too */
|