Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 2021 20:08:44 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 9f1e0822cdf4 - releng/13.0 - fhlink(2): the syscalls do not take flag
Message-ID:  <202103042008.124K8iq8041950@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch releng/13.0 has been updated by kib:

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

commit 9f1e0822cdf4b2d2ab14cbe42ddc71a6603a9644
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-02-28 00:38:11 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-03-04 20:07:42 +0000

    fhlink(2): the syscalls do not take flag
    
    Approved by:    re (gjb)
    
    (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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103042008.124K8iq8041950>