patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / kernel / vserver / sysctl.c
index 562fc0e..32fde9a 100644 (file)
 enum {
         CTL_DEBUG_SWITCH = 1,
         CTL_DEBUG_LIMIT,
+        CTL_DEBUG_DLIMIT,
 };
 
 
 unsigned int vx_debug_switch = 0;
 unsigned int vx_debug_limit = 0;
+unsigned int vx_debug_dlimit = 0;
 
 
 static struct ctl_table_header *vserver_table_header;
@@ -135,6 +137,14 @@ static ctl_table debug_table[] = {
                 .mode           = 0644,
                 .proc_handler   = &proc_dodebug
         },
+        {
+                .ctl_name       = CTL_DEBUG_DLIMIT,
+                .procname       = "debug_dlimit",
+                .data           = &vx_debug_dlimit,
+                .maxlen         = sizeof(int),
+                .mode           = 0644,
+                .proc_handler   = &proc_dodebug
+        },
         { .ctl_name = 0 }
 };