Commit 7682968b authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] x86_64: Change default setting for noexec32 to match i386 kernel

This means i386 processes compiled with a recent compiler will get non
executable heap by default now.  This is the same default as a 32bit PAE
kernel would use on a NX enabled CPU.
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent df92004c
...@@ -59,7 +59,7 @@ int __init nonx_setup(char *str) ...@@ -59,7 +59,7 @@ int __init nonx_setup(char *str)
} }
__setup("noexec=", nonx_setup); /* parsed early actually */ __setup("noexec=", nonx_setup); /* parsed early actually */
int force_personality32 = READ_IMPLIES_EXEC; int force_personality32 = 0;
/* noexec32=on|off /* noexec32=on|off
Control non executable heap for 32bit processes. Control non executable heap for 32bit processes.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment