Browse files

aslr: document per-process workaround

and a proper fix
  • Loading branch information...
bmwiedemann committed Nov 6, 2017
1 parent 957a0ce commit 32c0267d64ec730ace4a0bd710fc701018a50c6c
Showing with 4 additions and 0 deletions.
  1. +4 −0 aslr/README
@@ -4,3 +4,7 @@
is controlled under Linux via /proc/sys/kernel/randomize_va_space
It will randomize memory addresses and thus pointers
and also initialize certain memory with random values.
ASLR can also be disabled per process using `setarch $(arch) -R make`
But the proper fix for cases like 1.c is to use memset or bzero.

0 comments on commit 32c0267

Please sign in to comment.