Re: Patch 6/6 default enable randomisation for -mm

From: Arjan van de Ven
Date: Thu Jan 27 2005 - 05:24:44 EST



For -mm only to increease testing; enable the randomisations by default

Signed-off-by: Arjan van de Ven <arjan@xxxxxxxxxxxxx>

diff -purN linux-step5/kernel/sysctl.c linux-step6/kernel/sysctl.c
--- linux-step5/kernel/sysctl.c 2005-01-27 10:22:14.000000000 +0100
+++ linux-step6/kernel/sysctl.c 2005-01-27 10:35:31.000000000 +0100
@@ -122,7 +122,7 @@ extern int sysctl_hz_timer;
extern int acct_parm[];
#endif

-int randomize_va_space = 0;
+int randomize_va_space = 1;

static int parse_table(int __user *, int, void __user *, size_t __user *, void __user *, size_t,
ctl_table *, void **);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/