]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add futimens and utimensat system calls.
authorjilles <jilles@FreeBSD.org>
Fri, 23 Jan 2015 21:07:08 +0000 (21:07 +0000)
committerjilles <jilles@FreeBSD.org>
Fri, 23 Jan 2015 21:07:08 +0000 (21:07 +0000)
commit67db24d0f2b81a222335fe5bb13977ef0c2258a9
tree319d8eb9a9510cbe3ee4c7aa7b4dfcc2f42ec514
parent4743c20fb6384559028572e519b637c0667e87ec
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
18 files changed:
bin/ln/symlink.7
lib/libc/include/libc_private.h
lib/libc/sys/Makefile.inc
lib/libc/sys/Symbol.map
lib/libc/sys/futimens.c [new file with mode: 0644]
lib/libc/sys/utimensat.2 [new file with mode: 0644]
lib/libc/sys/utimensat.c [new file with mode: 0644]
share/man/man4/rights.4
sys/compat/freebsd32/freebsd32_misc.c
sys/compat/freebsd32/syscalls.master
sys/kern/capabilities.conf
sys/kern/syscalls.master
sys/kern/vfs_syscalls.c
sys/sys/capsicum.h
sys/sys/param.h
sys/sys/stat.h
sys/sys/syscallsubr.h
usr.bin/kdump/kdump.c