HomeFreeBSD

access.2: Mention that lstat(2) should be used for symbolic links

Description

access.2: Mention that lstat(2) should be used for symbolic links

access(), eaccess() and faccessat() will always dereference
symbolic links.

So add a note in the manual page, that lstat(2) should be
used in the case of symbolic links.

PR: 262895
Reviewed by: gbe, pauamma_gundo.com
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D44890

Details

Provenance
gbeAuthored on May 13 2024, 8:40 AM
Reviewer
gbe
Differential Revision
D44890: access.2: Mention that lstat(2) should be used for symbolic links
Parents
rG9bfd3b4076a7: Add a build knob for _FORTIFY_SOURCE
Branches
Unknown
Tags
Unknown