[PATCH] vdso: randomize the i386 vDSO by moving it into a vma
[deliverable/linux.git] / kernel / sysctl.c
index f1a4eb1a655e31a8a44800f5e6a8ecdd87065071..f54afed8426f6309021c61f38dc2120041185a91 100644 (file)
@@ -927,6 +927,18 @@ static ctl_table vm_table[] = {
                .proc_handler   = &proc_dointvec_jiffies,
                .strategy       = &sysctl_jiffies,
        },
+#endif
+#ifdef CONFIG_X86_32
+       {
+               .ctl_name       = VM_VDSO_ENABLED,
+               .procname       = "vdso_enabled",
+               .data           = &vdso_enabled,
+               .maxlen         = sizeof(vdso_enabled),
+               .mode           = 0644,
+               .proc_handler   = &proc_dointvec,
+               .strategy       = &sysctl_intvec,
+               .extra1         = &zero,
+       },
 #endif
        { .ctl_name = 0 }
 };
This page took 0.025837 seconds and 5 git commands to generate.