From 90a6589cca9f1167a3a7bd538717836d4d32d5b3 Mon Sep 17 00:00:00 2001 From: johnjiang Date: Thu, 3 Aug 2017 16:06:25 +0800 Subject: [PATCH] close ASLR --- doc/Launch_F-Stack_on_AWS_EC2_in_one_minute.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/Launch_F-Stack_on_AWS_EC2_in_one_minute.md b/doc/Launch_F-Stack_on_AWS_EC2_in_one_minute.md index f1e3be75b..07591c038 100644 --- a/doc/Launch_F-Stack_on_AWS_EC2_in_one_minute.md +++ b/doc/Launch_F-Stack_on_AWS_EC2_in_one_minute.md @@ -17,6 +17,9 @@ echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages mkdir /mnt/huge mount -t hugetlbfs nodev /mnt/huge + + # close ASLR; it is necessary in multiple porcess + echo 0 > /proc/sys/kernel/randomize_va_space # insmod ko modprobe uio