summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2015-01-23 21:07:08 +0000
committerjilles <jilles@FreeBSD.org>2015-01-23 21:07:08 +0000
commit67db24d0f2b81a222335fe5bb13977ef0c2258a9 (patch)
tree319d8eb9a9510cbe3ee4c7aa7b4dfcc2f42ec514 /bin
parent4743c20fb6384559028572e519b637c0667e87ec (diff)
downloadFreeBSD-src-67db24d0f2b81a222335fe5bb13977ef0c2258a9.zip
FreeBSD-src-67db24d0f2b81a222335fe5bb13977ef0c2258a9.tar.gz
Add futimens and utimensat system calls.
The core kernel part is patch file utimes.2008.4.diff from pluknet@FreeBSD.org. I updated the code for API changes, added the manual page and added compatibility code for old kernels. There is also audit and Capsicum support. A new UTIME_* constant might allow setting birthtimes in future. Differential Revision: https://reviews.freebsd.org/D1426 Submitted by: pluknet (partially) Reviewed by: delphij, pluknet, rwatson Relnotes: yes
Diffstat (limited to 'bin')
-rw-r--r--bin/ln/symlink.77
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/ln/symlink.7 b/bin/ln/symlink.7
index 6aba773..821a312 100644
--- a/bin/ln/symlink.7
+++ b/bin/ln/symlink.7
@@ -29,7 +29,7 @@
.\" @(#)symlink.7 8.3 (Berkeley) 3/31/94
.\" $FreeBSD$
.\"
-.Dd December 29, 2014
+.Dd January 23, 2015
.Dt SYMLINK 7
.Os
.Sh NAME
@@ -147,9 +147,10 @@ unless given the
.Dv AT_SYMLINK_NOFOLLOW
flag:
.Xr fchmodat 2 ,
-.Xr fchownat 2
+.Xr fchownat 2 ,
+.Xr fstatat 2
and
-.Xr fstatat 2 .
+.Xr utimensat 2 .
.Pp
The owner and group of an existing symbolic link can be changed by
means of the
OpenPOWER on IntegriCloud