openat2.2: A few more fixes after feedback from Aleksa Sarai

Reported-by: Aleksa Sarai <cyphar@cyphar.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-04-14 22:07:39 +02:00
parent 9154da7f05
commit 2932c4aa7e
1 changed files with 10 additions and 2 deletions

View File

@ -297,7 +297,11 @@ flag.
.IP
If the trailing component (i.e., basename) of
.I pathname
is a magic link, and
is a magic link,
.I how.resolve
contains
.BR RESOLVE_NO_MAGICLINKS ,
and
.I how.flags
contains both
.BR O_PATH
@ -315,7 +319,11 @@ This option implies
.IP
If the trailing component (i.e., basename) of
.I pathname
is a symbolic link, and
is a symbolic link,
.I how.resolve
contains
.BR RESOLVE_NO_SYMLINKS ,
and
.I how.flags
contains both
.BR O_PATH