Re: [patch] honour MNT_NOEXEC for access()

From: Alan Cox
Date: Fri Oct 06 2006 - 17:09:18 EST


Ar Gwe, 2006-10-06 am 22:09 +0400, ysgrifennodd Stas Sergeev:
> Hi Andrew.
>
> The attached patch makes the access(X_OK) to take the
> "noexec" mount option into an account.
>
> Signed-off-by: Stas Sergeev <stsp@xxxxxxxx>
> CC: Jakub Jelinek <jakub@xxxxxxxxxx>
> CC: Arjan van de Ven <arjan@xxxxxxxxxxxxx>
> CC: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>

I doubt anyone uses access() any more for anything but this doesn't seem
to conflict with the POSIX spec.


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