mcexec: Disable address space layout randomization
Move the code from mcreboot.sh to mcexec.c.
This commit is contained in:
@@ -121,10 +121,5 @@ if [ "${irqbalance_used}" != "" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
# Re-enable ASLR
|
||||
if [ -f /tmp/mckernel_randomize_va_space ]; then
|
||||
cat /tmp/mckernel_randomize_va_space > /proc/sys/kernel/randomize_va_space
|
||||
fi
|
||||
|
||||
# Set back default swappiness
|
||||
echo 60 > /proc/sys/vm/swappiness
|
||||
|
||||
Reference in New Issue
Block a user