Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps

From: David Wagner
Date: Wed Oct 04 2006 - 00:06:45 EST


Stas Sergeev wrote:
>Arjan van de Ven wrote:
>> then don't put noexec on /dev/shm.
>
>That's obviously possible, but I'd feel safer having
>"noexec" on *every* user-writable partition.

But why would you "feel" safer? And why should the Linux kernel care
about how people "feel"? The purpose of these mechanisms is not to make
people feel safer; it is to make them actually be safer. If it isn't
actually making people safer -- if it is just to provide "warm fuzzies"
and a perception of safety -- then I don't see what business it has
going into the Linux kernel. What threat, exactly, are you trying to
defend against? What's your threat model?
-
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/