Details
Details
- Reviewers
markj ashish - Commits
- rG5fb54d2fc845: readlinkat(2): allow O_PATH fd
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
I tested it, and seems to resolve the PR 258856. If you could reference the PR in the commit message that'll be great.
Appreciate your quick follow-up.
Thank you!
Comment Actions
What does it have to do with O_PATH fds? After this patch readlinkat(fd, "", buf, bufsz) will succeed even if fd is opened without O_PATH, I believe.
Comment Actions
We do not allow opening symlink without O_PATH. See the very beginning of vn_open_vnode().