Fixes: 421025a274fb
PR: 262895
MFC after: 3 days
Details
Details
- Reviewers
gbe emaste - Group Reviewers
manpages - Commits
- rGfb18c369c32d: access(2): Discourage use of these system calls.
rG55cd52a4418d: access(2): Discourage use of these system calls.
rG79b39f23e134: access(2): Discourage use of these system calls.
rGa4be1eb21165: access(2): Discourage use of these system calls.
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 57750 Build 54638: arc lint + arc unit
Event Timeline
Comment Actions
I think this is fine. Your comment in the PR that these answer the question what would happen if I tried to open() this path helps avoid any confusion that might exist. But I can't think of wording that is succinct, accurate, and covers all cases so don't have a suggestion to make.
Comment Actions
"Access and friends provide a good first guess if a future open might succeed." Might be good to insert at the start. Or "access, eaccess and faccessat provide..." and change the list at the start of the next sentence to "These system calls".