Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
From: Stas Sergeev
Date: Sun Sep 24 2006 - 13:03:19 EST
Ulrich Drepper wrote:
The consensus has been to add the same checks to mprotect. They wereI know, and as long as the mmap have these checks,
not left out intentionally.
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/