summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2011-07-26 20:41:46 +0000
committermatthew <matthew@openbsd.org>2011-07-26 20:41:46 +0000
commitc4f6d16fd70489df1943476bcbc8e8d09e92059a (patch)
treeabf7d6c7a0c782fdf2f8482f8fa6dfc33de55a90
parentCalling a detach function from an attach function is no longer legal ( (diff)
downloadwireguard-openbsd-c4f6d16fd70489df1943476bcbc8e8d09e92059a.tar.xz
wireguard-openbsd-c4f6d16fd70489df1943476bcbc8e8d09e92059a.zip
Document system calls that optionally traverse symlinks.
-rw-r--r--bin/ln/symlink.714
1 files changed, 12 insertions, 2 deletions
diff --git a/bin/ln/symlink.7 b/bin/ln/symlink.7
index 2459a8a691a..e2e4e55d5cb 100644
--- a/bin/ln/symlink.7
+++ b/bin/ln/symlink.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: symlink.7,v 1.17 2007/05/31 19:19:14 jmc Exp $
+.\" $OpenBSD: symlink.7,v 1.18 2011/07/26 20:41:46 matthew Exp $
.\" $NetBSD: symlink.7,v 1.4 1996/04/25 15:44:56 mycroft Exp $
.\"
.\" Copyright (c) 1992, 1993, 1994
@@ -30,7 +30,7 @@
.\"
.\" @(#)symlink.7 8.3 (Berkeley) 3/31/94
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 26 2011 $
.Dt SYMLINK 7
.Os
.Sh NAME
@@ -119,6 +119,16 @@ is an alias for
.Xr unlink 2 ,
it also does not follow symbolic links.
.Pp
+Additionally, the following system calls accept a
+.Fa flag
+argument to control whether or not to follow symbolic links:
+.Xr fchmodat 2 ,
+.Xr fchownat 2 ,
+.Xr fstatat 2 ,
+.Xr linkat 2 ,
+and
+.Xr utimensat 2 .
+.Pp
The
.Bx 4.4
system differs from historical 4BSD systems in that the system call