On Tue, Oct 27, 2009 at 4:29 AM, Tony Finch <dot@xxxxxxxx> wrote: > According to POSIX, if you open the directory with O_SEARCH then openat() > does not re-check search (+x) permissions. I stand corrected. (Though my test system doesn't appear to have O_SEARCH.)