]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
access.2: Mention that lstat(2) should be used for symbolic links
authorGordon Bergling <gbe@FreeBSD.org>
Mon, 13 May 2024 08:40:12 +0000 (10:40 +0200)
committerGordon Bergling <gbe@FreeBSD.org>
Mon, 13 May 2024 08:40:12 +0000 (10:40 +0200)
commit421025a274fb5759b3ecc8bdb30b24db830b45ae
tree917cfa620e75d83fb4a5c6fe862fc1537b8aef8b
parent9bfd3b4076a7b0dfd27ab22318e5113dc84fea28
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
lib/libsys/access.2