aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/kdump
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2015-01-23 21:07:08 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2015-01-23 21:07:08 +0000
commit2205e0d1bd2813b1fad5bee39b3365ee2dc8a1ec (patch)
tree319d8eb9a9510cbe3ee4c7aa7b4dfcc2f42ec514 /usr.bin/kdump
parente7c9030c0d6fb04f90f1087f2eab97c1bcf6f67a (diff)
downloadsrc-2205e0d1bd2813b1fad5bee39b3365ee2dc8a1ec.tar.gz
src-2205e0d1bd2813b1fad5bee39b3365ee2dc8a1ec.zip
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
Notes
Notes: svn path=/head/; revision=277610
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r--usr.bin/kdump/kdump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c
index ad29bfde74c0..0daf7373cd19 100644
--- a/usr.bin/kdump/kdump.c
+++ b/usr.bin/kdump/kdump.c
@@ -714,6 +714,7 @@ ktrsyscall(struct ktr_syscall *ktr, u_int flags)
case SYS_readlinkat:
case SYS_renameat:
case SYS_unlinkat:
+ case SYS_utimensat:
putchar('(');
atfdname(*ip, decimal);
c = ',';