From 2932c4aa7e11bbe9e3883044cb2162646c17a770 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Tue, 14 Apr 2020 22:07:39 +0200 Subject: [PATCH] openat2.2: A few more fixes after feedback from Aleksa Sarai Reported-by: Aleksa Sarai Signed-off-by: Michael Kerrisk --- man2/openat2.2 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/man2/openat2.2 b/man2/openat2.2 index 00583dfd6..fb976f259 100644 --- a/man2/openat2.2 +++ b/man2/openat2.2 @@ -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