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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [patch] honour MNT_NOEXEC for access()
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [patch] honour MNT_NOEXEC for access()
- References:
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Arjan van de Ven <[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: Arjan van de Ven <[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: Arjan van de Ven <[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: Jakub Jelinek <[email protected]>
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Stas Sergeev <[email protected]>
- [patch] honour MNT_NOEXEC for access()
- From: Stas Sergeev <[email protected]>
- Re: [patch] honour MNT_NOEXEC for access()
- From: Alan Cox <[email protected]>
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- Prev by Date: Re: get_user_pages() cache issues on ARM
- Next by Date: Re: Merge window closed: v2.6.19-rc1
- Previous by thread: Re: [patch] honour MNT_NOEXEC for access()
- Next by thread: Re: [patch] honour MNT_NOEXEC for access()
- Index(es):