diff options
author | 2011-07-18 00:17:30 +0000 | |
---|---|---|
committer | 2011-07-18 00:17:30 +0000 | |
commit | cf9240b4c73c21960a4f3e667ea7d88b30757a0f (patch) | |
tree | 11a69289867c65b6f14709a7b8e73866c62e8f6e | |
parent | Add support for UTIME_OMIT and UTIME_NOW to utimensat(2), add the (diff) | |
download | wireguard-openbsd-cf9240b4c73c21960a4f3e667ea7d88b30757a0f.tar.xz wireguard-openbsd-cf9240b4c73c21960a4f3e667ea7d88b30757a0f.zip |
sync
-rw-r--r-- | sys/kern/init_sysent.c | 6 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 5 | ||||
-rw-r--r-- | sys/sys/syscall.h | 9 | ||||
-rw-r--r-- | sys/sys/syscallargs.h | 10 |
4 files changed, 21 insertions, 9 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 6de36b5d30f..74448bf1fb8 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.129 2011/07/09 05:46:58 matthew Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.130 2011/07/18 00:17:30 matthew Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.117 2011/07/09 05:46:26 matthew Exp + * created from; OpenBSD: syscalls.master,v 1.118 2011/07/18 00:16:54 matthew Exp */ #include <sys/param.h> @@ -785,5 +785,7 @@ struct sysent sysent[] = { sys_unlinkat }, /* 325 = unlinkat */ { 4, s(struct sys_utimensat_args), 0, sys_utimensat }, /* 326 = utimensat */ + { 2, s(struct sys_futimens_args), 0, + sys_futimens }, /* 327 = futimens */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 526b7e8a671..08640a070cc 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -1,10 +1,10 @@ -/* $OpenBSD: syscalls.c,v 1.130 2011/07/09 05:46:58 matthew Exp $ */ +/* $OpenBSD: syscalls.c,v 1.131 2011/07/18 00:17:30 matthew Exp $ */ /* * System call names. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.117 2011/07/09 05:46:26 matthew Exp + * created from; OpenBSD: syscalls.master,v 1.118 2011/07/18 00:16:54 matthew Exp */ char *syscallnames[] = { @@ -409,4 +409,5 @@ char *syscallnames[] = { "symlinkat", /* 324 = symlinkat */ "unlinkat", /* 325 = unlinkat */ "utimensat", /* 326 = utimensat */ + "futimens", /* 327 = futimens */ }; diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 9efae4e2fd3..563bbdf3290 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscall.h,v 1.129 2011/07/09 05:46:58 matthew Exp $ */ +/* $OpenBSD: syscall.h,v 1.130 2011/07/18 00:17:30 matthew Exp $ */ /* * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.117 2011/07/09 05:46:26 matthew Exp + * created from; OpenBSD: syscalls.master,v 1.118 2011/07/18 00:16:54 matthew Exp */ /* syscall: "syscall" ret: "int" args: "int" "..." */ @@ -670,4 +670,7 @@ /* syscall: "utimensat" ret: "int" args: "int" "const char *" "const struct timespec *" "int" */ #define SYS_utimensat 326 -#define SYS_MAXSYSCALL 327 +/* syscall: "futimens" ret: "int" args: "int" "const struct timespec *" */ +#define SYS_futimens 327 + +#define SYS_MAXSYSCALL 328 diff --git a/sys/sys/syscallargs.h b/sys/sys/syscallargs.h index 4c303623720..38583f5ce69 100644 --- a/sys/sys/syscallargs.h +++ b/sys/sys/syscallargs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: syscallargs.h,v 1.131 2011/07/09 05:46:58 matthew Exp $ */ +/* $OpenBSD: syscallargs.h,v 1.132 2011/07/18 00:17:30 matthew Exp $ */ /* * System call argument lists. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.117 2011/07/09 05:46:26 matthew Exp + * created from; OpenBSD: syscalls.master,v 1.118 2011/07/18 00:16:54 matthew Exp */ #ifdef syscallarg @@ -1040,6 +1040,11 @@ struct sys_utimensat_args { syscallarg(int) flag; }; +struct sys_futimens_args { + syscallarg(int) fd; + syscallarg(const struct timespec *) times; +}; + /* * System call prototypes. */ @@ -1293,3 +1298,4 @@ int sys_renameat(struct proc *, void *, register_t *); int sys_symlinkat(struct proc *, void *, register_t *); int sys_unlinkat(struct proc *, void *, register_t *); int sys_utimensat(struct proc *, void *, register_t *); +int sys_futimens(struct proc *, void *, register_t *); |