socket/run: ASLR_NO_RANDOMIZE is an enum, not a macro (#9875)

This commit is contained in:
Riccardo Schirone 2018-04-13 15:04:07 +02:00 committed by radare
parent 6f195e1d86
commit 0896c8b59c

View File

@ -243,7 +243,7 @@ static void setASLR(RRunProfile *r, int enabled) {
#if __ANDROID__
setRVA ("0\n");
#else
#ifdef ADDR_NO_RANDOMIZE
#if __linux__
if (personality (ADDR_NO_RANDOMIZE) == -1)
#endif
setRVA ("0\n");