diff options
author | Nick Kralevich <nnk@google.com> | 2011-10-06 11:47:11 -0700 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2011-10-11 15:35:39 -0700 |
commit | d707fb3fb6448be04d6e14f7e478df7e298ebf35 (patch) | |
tree | 997f4d88361d249189ad535f723a04e7fcfa2b48 | |
parent | 4e803c3c18ad6a0cebbb16e2cf623a174f5201e1 (diff) | |
download | system_core-d707fb3fb6448be04d6e14f7e478df7e298ebf35.zip system_core-d707fb3fb6448be04d6e14f7e478df7e298ebf35.tar.gz system_core-d707fb3fb6448be04d6e14f7e478df7e298ebf35.tar.bz2 |
enable heap randomization.
Bug: 5250555
Change-Id: I7acb0645402611875c481aec33ece85fced7a336
-rw-r--r-- | rootdir/init.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 10c0f12..af4967e 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -64,6 +64,7 @@ loglevel 3 write /proc/sys/kernel/sched_wakeup_granularity_ns 2000000 write /proc/sys/kernel/sched_compat_yield 1 write /proc/sys/kernel/sched_child_runs_first 0 + write /proc/sys/kernel/randomize_va_space 2 # Create cgroup mount points for process groups mkdir /dev/cpuctl |