[Bug 262895] access(2) man page should mention softlinks
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 262895] access(2) man page should mention softlinks"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 May 2024 02:42:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262895
--- Comment #11 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=f075b6113726d74342d4af15dfab60709f50b859
commit f075b6113726d74342d4af15dfab60709f50b859
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-05-13 08:40:12 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-05-23 02:41:32 +0000
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
(cherry picked from commit 421025a274fb5759b3ecc8bdb30b24db830b45ae)
lib/libc/sys/access.2 | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
--
You are receiving this mail because:
You are on the CC list for the bug.