aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2021-02-28 00:38:11 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2021-03-02 18:16:55 +0000
commit600756afb532a86a39fb488f5c4fc7e248921655 (patch)
tree8dc153e1d28009393c506624ad8bcd9195a675a4 /lib
parent2c26d77d989abe48c662eeb6f52f7e4c9b81680c (diff)
downloadsrc-600756afb532a86a39fb488f5c4fc7e248921655.tar.gz
src-600756afb532a86a39fb488f5c4fc7e248921655.zip
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
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/fhlink.229
1 files changed, 1 insertions, 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