Re: [patch] honour MNT_NOEXEC for access()

From: Stas Sergeev
Date: Sat Oct 07 2006 - 09:17:01 EST


Hello.

Alan Cox wrote:
I doubt anyone uses access() any more for anything but this doesn't seem
Even though the access(X_OK) is mostly not needed
as the execve() would fail anyway, this is not the
case for ld.so. I think it would be a good idea for
ld.so to start using the access(R_OK | X_OK) before
open().

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