git: 600756afb532 - main - fhlink(2): the syscalls do not take flag
Konstantin Belousov
kib at FreeBSD.org
Tue Mar 2 18:22:31 UTC 2021
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=600756afb532a86a39fb488f5c4fc7e248921655
commit 600756afb532a86a39fb488f5c4fc7e248921655
Author: Konstantin Belousov <kib at FreeBSD.org>
AuthorDate: 2021-02-28 00:38:11 +0000
Commit: Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-03-02 18:16:55 +0000
fhlink(2): the syscalls do not take flag
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D28907
---
lib/libc/sys/fhlink.2 | 29 +----------------------------
1 file changed, 1 insertion(+), 28 deletions(-)
diff --git a/lib/libc/sys/fhlink.2 b/lib/libc/sys/fhlink.2
index da35d2b103e6..029ec8d7c2eb 100644
--- a/lib/libc/sys/fhlink.2
+++ b/lib/libc/sys/fhlink.2
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 23, 2020
+.Dd February 23, 2021
.Dt FHLINK 2
.Os
.Sh NAME
@@ -95,33 +95,6 @@ the directory associated with the file descriptor
.Fa tofd
instead of the current working directory.
.Pp
-Values for
-.Fa flag
-are constructed by a bitwise-inclusive OR of flags from the following
-list, defined in
-.In fcntl.h :
-.Bl -tag -width indent
-.It Dv AT_SYMLINK_FOLLOW
-If
-.Fa fhp
-names a symbolic link, a new link for the target of the symbolic link is
-created.
-.It Dv AT_BENEATH
-Only allow to link to a file which is beneath of the topping directory.
-See the description of the
-.Dv O_BENEATH
-flag in the
-.Xr open 2
-manual page.
-.It Dv AT_RESOLVE_BENEATH
-Only walks paths below the topping directory.
-See the description of the
-.Dv O_RESOLVE_BENEATH
-flag in the
-.Xr open 2
-manual page.
-.El
-.Pp
If
.Fn fhlinkat
is passed the special value
More information about the dev-commits-src-all
mailing list