Page MenuHomeFreeBSD

Change linux faccessat syscall definition to match actual linux one.
ClosedPublic

Authored by dchagin on Nov 2 2014, 10:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 3, 10:29 AM
Unknown Object (File)
Jul 10 2025, 9:45 AM
Unknown Object (File)
Jul 8 2025, 4:05 AM
Unknown Object (File)
Jun 22 2025, 9:53 AM
Unknown Object (File)
Jun 21 2025, 5:54 PM
Unknown Object (File)
Jun 17 2025, 9:23 PM
Unknown Object (File)
Jun 16 2025, 2:15 PM
Unknown Object (File)
Jun 16 2025, 11:20 AM
Subscribers

Details

Summary

The AT_EACCESS and AT_SYMLINK_NOFOLLOW flags are actually implemented
within the glibc wrapper function for faccessat(). If either of these
flags are specified, then the wrapper function employs fstatat() to
determine access permissions.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dchagin retitled this revision from to Change linux faccessat syscall definition to match actual linux one..
dchagin updated this object.
trasz added inline comments.
sys/compat/linux/linux_file.c
601 ↗(On Diff #2224)

Get rid of flag variable and pass AT_EACCESS directly, perhaps?

whoops, yes, faccessat() as access() here use the real uid/gid.

trasz added a reviewer: trasz.
This revision is now accepted and ready to land.Mar 27 2015, 9:43 AM
This revision was automatically updated to reflect the committed changes.