Hello. Ulrich Drepper wrote:
Now, as the access(X_OK) is fixed, would it be feasible for ld.so to start using it?Just must be kidding. No access control can be reliably implemented at userlevel. There is no point starting something as stupid as this.
But in this case how can you ever solve the problem of ld.so executing the binaries for which the user does not have an exec permission? Yes, the userspace apps usually should not enforce the kernel's access control, but ld.so seems to be the special case - it is a kernel helper after all, so it have to be carefull and check what it does. - 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: Arjan van de Ven <[email protected]>
- Re: [patch] honour MNT_NOEXEC for access()
- From: [email protected] (David Wagner)
- 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] honour MNT_NOEXEC for access()
- From: Ulrich Drepper <[email protected]>
- Re: [patch] honour MNT_NOEXEC for access()
- From: Stas Sergeev <[email protected]>
- Re: [patch] honour MNT_NOEXEC for access()
- From: Ulrich Drepper <[email protected]>
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- Prev by Date: Re: 25 random kernel configs, 24 build failures - 2.6.19-rc1-git2
- Next by Date: Re: [resend] [git pull] drm tree for 2.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):