Re: IA64/x86-64 and execution protection support?

From: Andi Kleen
Date: Tue Nov 18 2003 - 08:59:27 EST


Joseph Pingenot <trelane@xxxxxxxxxxxxxx> writes:

> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/