diff options
author | jilles <jilles@FreeBSD.org> | 2015-01-23 21:07:08 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2015-01-23 21:07:08 +0000 |
commit | 67db24d0f2b81a222335fe5bb13977ef0c2258a9 (patch) | |
tree | 319d8eb9a9510cbe3ee4c7aa7b4dfcc2f42ec514 /usr.bin/kdump | |
parent | 4743c20fb6384559028572e519b637c0667e87ec (diff) | |
download | FreeBSD-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 'usr.bin/kdump')
-rw-r--r-- | usr.bin/kdump/kdump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index ad29bfd..0daf737 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 = ','; |