Make the system call honor AT_SYMLINK_NOFOLLOW.
Also enable this from linux_faccessat2 where the issue arised the first time.
Update manual pages accordingly.
PR: 275295
Paths
| Differential D46267 Authored by fernape on Aug 10 2024, 11:45 AM.
Details Summary Make the system call honor AT_SYMLINK_NOFOLLOW. Also enable this from linux_faccessat2 where the issue arised the first time. PR: 275295 Test Plan Apply the patch and use a simple program to test the system call. AFAICT, this change is POSIX-compliant.
Diff Detail
Event TimelineHerald added subscribers: olce, imp. ยท View Herald TranscriptAug 10 2024, 11:45 AM2024-08-10 11:45:58 (UTC+0) Harbormaster completed remote builds in B58982: Diff 141976.Aug 10 2024, 11:46 AM2024-08-10 11:46:00 (UTC+0) fernape edited the summary of this revision. (Show Details)Aug 10 2024, 11:47 AM2024-08-10 11:47:29 (UTC+0) Comment Actions Do not forget to bump the man page's dates.
Harbormaster completed remote builds in B58984: Diff 141987.Aug 11 2024, 10:34 AM2024-08-11 10:34:10 (UTC+0) Comment Actions
Yes, I will bump .Dd at commit time. Harbormaster completed remote builds in B58985: Diff 141988.Aug 11 2024, 12:13 PM2024-08-11 12:13:11 (UTC+0) Harbormaster completed remote builds in B58986: Diff 141989.Aug 11 2024, 12:14 PM2024-08-11 12:14:27 (UTC+0) This revision is now accepted and ready to land.Aug 11 2024, 12:19 PM2024-08-11 12:19:36 (UTC+0) Closed by commit rG5ab6ed93cd36: faccessat(2): Honor AT_SYMLINK_NOFOLLOW (authored by fernape). ยท Explain WhyAug 11 2024, 3:54 PM2024-08-11 15:54:54 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 141987 bin/ln/symlink.7
lib/libsys/access.2
sys/compat/linux/linux_file.c
sys/kern/vfs_syscalls.c
|