Skip to contentSkip to conversation

IA64/x86-64 and execution protection support?

DISCUSSION Andi Kleen 1 participant 1 message Nov 18, 2003 1 message not in the archive

lore
Share & tools
lore

Andi Kleen

author
#1 lore raw
In reply to a message not in the archive
Quoted 5 lines · Joseph Pingenot

Does the Linux kernel have support for preventing execution of certain
memory regions on those architectures?
Also, I know that some implementations of x86 stack protection are out there;
I've not seen them in the vanilla kernels; is there any plan to implement them?

The x86-64 port supports no-execution for stack and heap and other memory areas, but it is not enabled by default because it breaks some software. You can enable it with the noexec= boot parameter. See Documentation/x86_64/boot-options.txt for details.

-Andi