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
This commit is contained in:
parent
2c26d77d98
commit
600756afb5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user