On Tue, 6 Aug 2013, Rich Felker wrote:

> Of course, the userspace fallback code could detect such failures and
> retry with O_RDONLY, so maybe it's not such a big issue. With a
> working O_PATH, open should never fail with EISDIR or EACCES, so these
> errors could be used as a condition to retry.

Surely you'll still get EACCES when some component in the specified path, 
not the last one, lacks search permission?

-- 
Joseph S. Myers
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to