Re: [patch] honour MNT_NOEXEC for access()

From: Ulrich Drepper
Date: Fri Oct 06 2006 - 17:16:54 EST


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

Well, there are cases where access is used (libc, for instance, uses it
instead of an open for files which most likely don't exist since access
if faster than a failed open call).

The change itself is conceptually correct. I haven't looked at the
technical details but it looks OK.

--
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â

Attachment: signature.asc
Description: OpenPGP digital signature