> So I think the problem we are seeing is not for traversing up the > tree, but for traversing down it. In which case the check is not > needed (if O_NOFOLLOW is also available).
And if O_NOFOLLOW is unavailable it would still make sense to move the stat and the open as close to each other as possible for traversing down a directory. Miklos
