On Sat, 23 Sep 2006 19:47:19 +0400, Stas Sergeev said: > 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? 'man 2 open' reports the following error code as a possibility: EROFS pathname refers to a file on a read-only filesystem and write access was requested. Are you suggesting that it's not an app's fault/problem if it tries to open a writable file on a R/O filesystem? Because it's essentially the same problem....
Attachment:
pgpsMPxueStzB.pgp
Description: PGP signature
- Follow-Ups:
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Stas Sergeev <[email protected]>
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- References:
- [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Stas Sergeev <[email protected]>
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Hugh Dickins <[email protected]>
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Ulrich Drepper <[email protected]>
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Stas Sergeev <[email protected]>
- [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- Prev by Date: Re: [PATCH 00/03][RESUBMIT] net: EtherIP tunnel driver
- Next by Date: git diff <-> diffstat
- 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):