Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Jeff Dike <jdike@xxxxxxxxxxx>
- Date: Wed, 4 Oct 2006 09:41:22 -0400
On Wed, Oct 04, 2006 at 03:17:59AM +0000, David Wagner wrote:
To be honest, I still don't think you've answered Arjan's question. Ok,
so you say it is not a library and not a binary. So what is it that you
are maping in as executable, and why do you think it is reasonable to
ask the Linux kernel to allow you to execute it, if it lives on a noexec
partition?
He mentioned UML as being one thing affected by this. In this case, you
can think of it as generating code in a piece of shared memory and
then executing it. In reality, the code is read from disk rather than
being generated internally, and it's executed in a different process,
so it needs to be MAP_SHARED.
Jeff
-
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/
- References:
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Arjan van de Ven
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Stas Sergeev
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: David Wagner
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- Prev by Date: Re: 2.6.18-mm2 boot failure on x86-64
- Next by Date: Re: [PATCH 3/4] Char: mxser_new, pci_request_region for pci regions
- Previous by thread: Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- Next by thread: Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- Index(es):