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 majordomo@vger.kernel.org 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 <arjan@infradead.org>
- Re: [patch] honour MNT_NOEXEC for access()
- From: daw@cs.berkeley.edu (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 <arjan@infradead.org>
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Stas Sergeev <stsp@aknet.ru>
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Arjan van de Ven <arjan@infradead.org>
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Stas Sergeev <stsp@aknet.ru>
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Arjan van de Ven <arjan@infradead.org>
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Stas Sergeev <stsp@aknet.ru>
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Jakub Jelinek <jakub@redhat.com>
- Re: [patch] remove MNT_NOEXEC check for PROT_EXEC mmaps
- From: Stas Sergeev <stsp@aknet.ru>
- [patch] honour MNT_NOEXEC for access()
- From: Stas Sergeev <stsp@aknet.ru>
- Re: [patch] honour MNT_NOEXEC for access()
- From: Alan Cox <alan@lxorguk.ukuu.org.uk>
- Re: [patch] honour MNT_NOEXEC for access()
- From: Ulrich Drepper <drepper@redhat.com>
- Re: [patch] honour MNT_NOEXEC for access()
- From: Stas Sergeev <stsp@aknet.ru>
- Re: [patch] honour MNT_NOEXEC for access()
- From: Ulrich Drepper <drepper@redhat.com>
- 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):
![]() |