Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/arch Regen for utimensat(2).



details:   https://anonhg.NetBSD.org/src/rev/ec5c1cd90c5e
branches:  trunk
changeset: 790184:ec5c1cd90c5e
user:      njoly <njoly%NetBSD.org@localhost>
date:      Tue Sep 24 13:28:50 2013 +0000

description:
Regen for utimensat(2).

diffstat:

 sys/compat/linux/arch/alpha/linux_syscall.h       |   7 +++++--
 sys/compat/linux/arch/alpha/linux_syscallargs.h   |  14 ++++++++++++--
 sys/compat/linux/arch/alpha/linux_syscalls.c      |   8 ++++----
 sys/compat/linux/arch/alpha/linux_sysent.c        |  10 +++++-----
 sys/compat/linux/arch/amd64/linux_syscall.h       |   7 +++++--
 sys/compat/linux/arch/amd64/linux_syscallargs.h   |  14 ++++++++++++--
 sys/compat/linux/arch/amd64/linux_syscalls.c      |   8 ++++----
 sys/compat/linux/arch/amd64/linux_sysent.c        |  10 +++++-----
 sys/compat/linux/arch/arm/linux_syscall.h         |   7 +++++--
 sys/compat/linux/arch/arm/linux_syscallargs.h     |  14 ++++++++++++--
 sys/compat/linux/arch/arm/linux_syscalls.c        |   8 ++++----
 sys/compat/linux/arch/arm/linux_sysent.c          |  10 +++++-----
 sys/compat/linux/arch/i386/linux_syscall.h        |   7 +++++--
 sys/compat/linux/arch/i386/linux_syscallargs.h    |  14 ++++++++++++--
 sys/compat/linux/arch/i386/linux_syscalls.c       |   8 ++++----
 sys/compat/linux/arch/i386/linux_sysent.c         |  10 +++++-----
 sys/compat/linux/arch/m68k/linux_syscall.h        |   7 +++++--
 sys/compat/linux/arch/m68k/linux_syscallargs.h    |  14 ++++++++++++--
 sys/compat/linux/arch/m68k/linux_syscalls.c       |   8 ++++----
 sys/compat/linux/arch/m68k/linux_sysent.c         |  10 +++++-----
 sys/compat/linux/arch/mips/linux_syscall.h        |   7 +++++--
 sys/compat/linux/arch/mips/linux_syscallargs.h    |  14 ++++++++++++--
 sys/compat/linux/arch/mips/linux_syscalls.c       |   8 ++++----
 sys/compat/linux/arch/mips/linux_sysent.c         |  10 +++++-----
 sys/compat/linux/arch/powerpc/linux_syscall.h     |   7 +++++--
 sys/compat/linux/arch/powerpc/linux_syscallargs.h |  14 ++++++++++++--
 sys/compat/linux/arch/powerpc/linux_syscalls.c    |   8 ++++----
 sys/compat/linux/arch/powerpc/linux_sysent.c      |  10 +++++-----
 28 files changed, 182 insertions(+), 91 deletions(-)

diffs (truncated from 896 to 300 lines):

diff -r c6d1fe9568d1 -r ec5c1cd90c5e sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h       Tue Sep 24 13:27:49 2013 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h       Tue Sep 24 13:28:50 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.84 2013/09/15 12:59:17 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.85 2013/09/24 13:28:50 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.78 2013/09/15 12:58:34 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.79 2013/09/24 13:27:49 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -603,6 +603,9 @@
 /* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
 #define        LINUX_SYS_get_robust_list       467
 
+/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
+#define        LINUX_SYS_utimensat     475
+
 /* syscall: "dup3" ret: "int" args: "int" "int" "int" */
 #define        LINUX_SYS_dup3  487
 
diff -r c6d1fe9568d1 -r ec5c1cd90c5e sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h   Tue Sep 24 13:27:49 2013 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h   Tue Sep 24 13:28:50 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.83 2013/09/15 12:59:17 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.84 2013/09/24 13:28:50 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.78 2013/09/15 12:58:34 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.79 2013/09/24 13:27:49 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1003,6 +1003,14 @@
 };
 check_syscall_args(linux_sys_get_robust_list)
 
+struct linux_sys_utimensat_args {
+       syscallarg(int) fd;
+       syscallarg(const char *) path;
+       syscallarg(struct linux_timespec *) times;
+       syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_utimensat)
+
 struct linux_sys_dup3_args {
        syscallarg(int) from;
        syscallarg(int) to;
@@ -1448,6 +1456,8 @@
 
 int    linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
 
+int    linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
+
 int    linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
 
 int    linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
diff -r c6d1fe9568d1 -r ec5c1cd90c5e sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c      Tue Sep 24 13:27:49 2013 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c      Tue Sep 24 13:28:50 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.85 2013/09/15 12:59:17 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.86 2013/09/24 13:28:50 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.78 2013/09/15 12:58:34 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.79 2013/09/24 13:27:49 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.85 2013/09/15 12:59:17 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.86 2013/09/24 13:28:50 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -531,7 +531,7 @@
        /* 472 */       "#472 (unimplemented move_pages)",
        /* 473 */       "#473 (unimplemented getcpu)",
        /* 474 */       "#474 (unimplemented epoll_wait)",
-       /* 475 */       "#475 (unimplemented utimensat)",
+       /* 475 */       "utimensat",
        /* 476 */       "#476 (unimplemented signalfd)",
        /* 477 */       "#477 (unimplemented timerfd)",
        /* 478 */       "#478 (unimplemented eventfd)",
diff -r c6d1fe9568d1 -r ec5c1cd90c5e sys/compat/linux/arch/alpha/linux_sysent.c
--- a/sys/compat/linux/arch/alpha/linux_sysent.c        Tue Sep 24 13:27:49 2013 +0000
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c        Tue Sep 24 13:28:50 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.84 2013/09/15 12:59:17 njoly Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.85 2013/09/24 13:28:50 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.78 2013/09/15 12:58:34 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.79 2013/09/24 13:27:49 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.84 2013/09/15 12:59:17 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.85 2013/09/24 13:28:50 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
@@ -1020,8 +1020,8 @@
            linux_sys_nosys },                  /* 473 = unimplemented getcpu */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 474 = unimplemented epoll_wait */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 475 = unimplemented utimensat */
+       { ns(struct linux_sys_utimensat_args), SYCALL_ARG_PTR,
+           (sy_call_t *)linux_sys_utimensat }, /* 475 = utimensat */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 476 = unimplemented signalfd */
        { 0, 0, 0,
diff -r c6d1fe9568d1 -r ec5c1cd90c5e sys/compat/linux/arch/amd64/linux_syscall.h
--- a/sys/compat/linux/arch/amd64/linux_syscall.h       Tue Sep 24 13:27:49 2013 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscall.h       Tue Sep 24 13:28:50 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.44 2013/04/08 20:58:21 pooka Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.45 2013/09/24 13:28:50 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.42 2013/04/08 20:54:47 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.43 2013/09/24 13:27:49 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -603,6 +603,9 @@
 /* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
 #define        LINUX_SYS_get_robust_list       274
 
+/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
+#define        LINUX_SYS_utimensat     280
+
 /* syscall: "dup3" ret: "int" args: "int" "int" "int" */
 #define        LINUX_SYS_dup3  292
 
diff -r c6d1fe9568d1 -r ec5c1cd90c5e sys/compat/linux/arch/amd64/linux_syscallargs.h
--- a/sys/compat/linux/arch/amd64/linux_syscallargs.h   Tue Sep 24 13:27:49 2013 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscallargs.h   Tue Sep 24 13:28:50 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.44 2013/04/08 20:58:21 pooka Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.45 2013/09/24 13:28:50 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.42 2013/04/08 20:54:47 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.43 2013/09/24 13:27:49 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -919,6 +919,14 @@
 };
 check_syscall_args(linux_sys_get_robust_list)
 
+struct linux_sys_utimensat_args {
+       syscallarg(int) fd;
+       syscallarg(const char *) path;
+       syscallarg(struct linux_timespec *) times;
+       syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_utimensat)
+
 struct linux_sys_dup3_args {
        syscallarg(int) from;
        syscallarg(int) to;
@@ -1335,6 +1343,8 @@
 
 int    linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
 
+int    linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
+
 int    linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
 
 int    linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
diff -r c6d1fe9568d1 -r ec5c1cd90c5e sys/compat/linux/arch/amd64/linux_syscalls.c
--- a/sys/compat/linux/arch/amd64/linux_syscalls.c      Tue Sep 24 13:27:49 2013 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscalls.c      Tue Sep 24 13:28:50 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.44 2013/04/08 20:58:21 pooka Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.45 2013/09/24 13:28:50 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.42 2013/04/08 20:54:47 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.43 2013/09/24 13:27:49 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.44 2013/04/08 20:58:21 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.45 2013/09/24 13:28:50 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -344,7 +344,7 @@
        /* 277 */       "#277 (unimplemented sync_file_range)",
        /* 278 */       "#278 (unimplemented vmsplice)",
        /* 279 */       "#279 (unimplemented move_pages)",
-       /* 280 */       "#280 (unimplemented utimensat)",
+       /* 280 */       "utimensat",
        /* 281 */       "#281 (unimplemented epoll_pwait)",
        /* 282 */       "#282 (unimplemented signalfd)",
        /* 283 */       "#283 (unimplemented timerfd_create)",
diff -r c6d1fe9568d1 -r ec5c1cd90c5e sys/compat/linux/arch/amd64/linux_sysent.c
--- a/sys/compat/linux/arch/amd64/linux_sysent.c        Tue Sep 24 13:27:49 2013 +0000
+++ b/sys/compat/linux/arch/amd64/linux_sysent.c        Tue Sep 24 13:28:50 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.44 2013/04/08 20:58:22 pooka Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.45 2013/09/24 13:28:50 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.42 2013/04/08 20:54:47 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.43 2013/09/24 13:27:49 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.44 2013/04/08 20:58:22 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.45 2013/09/24 13:28:50 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
@@ -638,8 +638,8 @@
            linux_sys_nosys },                  /* 278 = unimplemented vmsplice */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 279 = unimplemented move_pages */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 280 = unimplemented utimensat */
+       { ns(struct linux_sys_utimensat_args), SYCALL_ARG_PTR,
+           (sy_call_t *)linux_sys_utimensat }, /* 280 = utimensat */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 281 = unimplemented epoll_pwait */
        { 0, 0, 0,
diff -r c6d1fe9568d1 -r ec5c1cd90c5e sys/compat/linux/arch/arm/linux_syscall.h
--- a/sys/compat/linux/arch/arm/linux_syscall.h Tue Sep 24 13:27:49 2013 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscall.h Tue Sep 24 13:28:50 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.53 2013/04/08 20:58:22 pooka Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.54 2013/09/24 13:28:51 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.50 2013/04/08 20:54:48 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.51 2013/09/24 13:27:49 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -661,6 +661,9 @@
 /* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
 #define        LINUX_SYS_get_robust_list       339
 
+/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
+#define        LINUX_SYS_utimensat     348
+
 /* syscall: "dup3" ret: "int" args: "int" "int" "int" */
 #define        LINUX_SYS_dup3  358
 
diff -r c6d1fe9568d1 -r ec5c1cd90c5e sys/compat/linux/arch/arm/linux_syscallargs.h
--- a/sys/compat/linux/arch/arm/linux_syscallargs.h     Tue Sep 24 13:27:49 2013 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscallargs.h     Tue Sep 24 13:28:50 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.53 2013/04/08 20:58:22 pooka Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.54 2013/09/24 13:28:51 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.50 2013/04/08 20:54:48 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.51 2013/09/24 13:27:49 njoly Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -993,6 +993,14 @@
 };



Home | Main Index | Thread Index | Old Index