Re: make PROT_WRITE imply PROT_READ

From: Ulrich Drepper
Date: Thu Jun 29 2006 - 23:46:45 EST


On 6/29/06, Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:
the thing is.. you can say EXACTLY the same about PROT_EXEC.. not all
processors support enforcing that.. so should we just always imply
PROT_EXEC as well?

There is a fundamental difference: not setting PROT_EXEC has no
negative side effects. You might be able to execute code and it just
works.

With PROT_READ this is not the case, there _are_ side effects which are visible.
-
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/