Hi. Ulrich Drepper wrote:
The consensus has been to add the same checks to mprotect. They were not left out intentionally.
I know, and as long as the mmap have these checks, that would be at least consistent. But could you please explain what does that solve *besides* the ld.so problem, which looks like the user-space problem to me? I tried my best to express the negative sides of that approach, but what are the positive ones? If that approach forces people to avoid using "noexec" where they previously used it for good, then I'd even call it a regression. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- 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: 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: Alan Cox <[email protected]>
- 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
- From: Alan Cox <[email protected]>
- 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
- From: Ulrich Drepper <[email protected]>
- 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
- From: Ulrich Drepper <[email protected]>
- [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- Prev by Date: oops in :snd_pcm_oss:resample_expand+0x19c/0x1f0
- Next by Date: Re: 2.6.18-mm1
- 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):