diff options
author | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-07-18 00:16:55 +0000 |
---|---|---|
committer | Matthew Dempsky <matthew@cvs.openbsd.org> | 2011-07-18 00:16:55 +0000 |
commit | acae39e1405d6fa9f4948ab6d08831294fb269d6 (patch) | |
tree | 1450eaf0cbe54ea09593312e9138050fbe928aa2 /sys/kern/syscalls.master | |
parent | 4af128e42b8c175ba7fbcbffba789a4b05701fb1 (diff) |
Add support for UTIME_OMIT and UTIME_NOW to utimensat(2), add the
futimens(2) system call, and refactor futimes(2) to share the same
code. (As with other openat(2) system call stuff, this is not exposed
to userland yet.)
naddy@ pointed out rsync expects UTIME_* if openat(2) is available
tweaks and ok guenther@; tested by naddy@ in a bulk build
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r-- | sys/kern/syscalls.master | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 66f9d910907..cd4a7899bcb 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -1,4 +1,4 @@ -; $OpenBSD: syscalls.master,v 1.117 2011/07/09 05:46:26 matthew Exp $ +; $OpenBSD: syscalls.master,v 1.118 2011/07/18 00:16:54 matthew Exp $ ; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $ ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 @@ -572,3 +572,5 @@ int flag); } 326 STD { int sys_utimensat(int fd, const char *path, \ const struct timespec *times, int flag); } +327 STD { int sys_futimens(int fd, \ + const struct timespec *times); } |