Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/sys/link.2
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | |||||
created. | created. | ||||
.It Dv AT_BENEATH | .It Dv AT_BENEATH | ||||
Only allow to link to a file which is beneath of the topping directory. | Only allow to link to a file which is beneath of the topping directory. | ||||
See the description of the | See the description of the | ||||
.Dv O_BENEATH | .Dv O_BENEATH | ||||
flag in the | flag in the | ||||
.Xr open 2 | .Xr open 2 | ||||
manual page. | manual page. | ||||
.It Dv AT_RELATIVE_BENEATH | |||||
Only walks path below the topping directory. | |||||
See the description of the | |||||
.Dv O_RELATIVE_BENEATH | |||||
flag in the | |||||
.Xr open 2 | |||||
manual page. | |||||
.El | .El | ||||
.Pp | .Pp | ||||
If | If | ||||
.Fn linkat | .Fn linkat | ||||
is passed the special value | is passed the special value | ||||
.Dv AT_FDCWD | .Dv AT_FDCWD | ||||
in the | in the | ||||
.Fa fd1 | .Fa fd1 | ||||
▲ Show 20 Lines • Show All 185 Lines • Show Last 20 Lines |