Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps

From: Stas Sergeev
Date: Sat Sep 23 2006 - 11:46:30 EST


Hi.

Ulrich Drepper wrote:
Definitely not. The test should stay. It does the right thing. Yes,
some applications might break, but this is the fault of the application.
But why exactly? They do:
shm_open();
mmap(PROT_READ|PROT_WRITE|PROT_EXEC);
and mmap fails.
Where is the fault of an app here?

-
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/