git: efc5f3d45469 - stable/13 - fhlink(2): the syscalls do not take flag

Konstantin Belousov kib at FreeBSD.org
Thu Mar 4 19:24:58 UTC 2021


The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=efc5f3d454696625fdbd363a53df35eeb176f209

commit efc5f3d454696625fdbd363a53df35eeb176f209
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-04 19:10:39 +0000

    fhlink(2): the syscalls do not take flag
    
    (cherry picked from commit 600756afb532a86a39fb488f5c4fc7e248921655)
---
 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