[Linux-ia64] Re: can we make anonymous memory non-EXECUTABLE?

Albert D. Cahalan
2002-01-08T19:32:41Z

David Mosberger writes:

> I think that's fine. If the consensus is that apps *should* use
> mprotect() to get executable permission (Linus implied as much) and
> it's an architecture specific choice as to whether this is enforced,
> I'm happy. My belief is that we could make this change on ia64
> without undue burden on programmers. If not, I'm sure I'll find out
> about it and I'm willing to take the responsibility.

If you turn off executable permission right now, you can add it
back at some future date.

If you leave the executable permission, we're stuck with it as
the ABI becomes set in stone.

So turn it off ASAP.