mirror of https://github.com/mkerrisk/man-pages
access.2: BUGS: note that faccessat() wrapper function emulation ignores ACLs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
8faba2435b
commit
06ad6cdfac
|
@ -348,7 +348,8 @@ flags are actually implemented within the glibc wrapper function for
|
|||
.BR faccessat ().
|
||||
If either of these flags is specified, then the wrapper function employs
|
||||
.BR fstatat (2)
|
||||
to determine access permissions.
|
||||
to determine access permissions, but see BUGS.
|
||||
.\"
|
||||
.SS Glibc notes
|
||||
On older kernels where
|
||||
.BR faccessat ()
|
||||
|
@ -368,6 +369,19 @@ that corresponds to the
|
|||
.IR dirfd
|
||||
argument.
|
||||
.SH BUGS
|
||||
Because the Linux kernel's
|
||||
.BR faccessat ()
|
||||
system call does not support a
|
||||
.I flags
|
||||
argument, the glibc
|
||||
.BR faccessat ()
|
||||
wrapper function emulates the required functionality using
|
||||
a combination of the
|
||||
.BR faccessat ()
|
||||
system call and
|
||||
.BR fstatat (2).
|
||||
However, this emulation does not take ACLs into account.
|
||||
.PP
|
||||
In kernel 2.4 (and earlier) there is some strangeness in the handling of
|
||||
.B X_OK
|
||||
tests for superuser.
|
||||
|
|
Loading…
Reference in New Issue