ASLR Turn on/off in linux (Address Space Layout Randomization)

From Luniwiki
Jump to: navigation, search

Kernel parameter

cat /proc/sys/kernel/randomize_va_space
2

Values

0 = Disabled
1 = Conservative Randomization
2 = Full Randomization

Modify it with command

sudo sysctl kernel.randomize_va_space=0

The modification will be active util next reboot (not permanent)

References

Daniel Simao 10:47, 10 February 2020 (EST)