Source-Changes-HG archive

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

[src/trunk]: src/sys regen for utimes



details:   https://anonhg.NetBSD.org/src/rev/ccd6531789a0
branches:  trunk
changeset: 785980:ccd6531789a0
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Apr 08 20:58:21 2013 +0000

description:
regen for utimes

diffstat:

 sys/compat/linux/arch/amd64/linux_syscall.h             |   7 ++++-
 sys/compat/linux/arch/amd64/linux_syscallargs.h         |  12 ++++++++-
 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           |  12 ++++++++-
 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          |  12 ++++++++-
 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          |  12 ++++++++-
 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          |  12 ++++++++-
 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       |  12 ++++++++-
 sys/compat/linux/arch/powerpc/linux_syscalls.c          |   8 +++---
 sys/compat/linux/arch/powerpc/linux_sysent.c            |  10 ++++----
 sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h     |   4 +-
 sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h |  20 +++++++++++++++-
 sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c    |  10 ++++----
 sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c      |  14 +++++-----
 28 files changed, 176 insertions(+), 94 deletions(-)

diffs (truncated from 895 to 300 lines):

diff -r 73cc1522456b -r ccd6531789a0 sys/compat/linux/arch/amd64/linux_syscall.h
--- a/sys/compat/linux/arch/amd64/linux_syscall.h       Mon Apr 08 20:54:47 2013 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscall.h       Mon Apr 08 20:58:21 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.43 2012/09/19 21:24:36 pooka Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.44 2013/04/08 20:58:21 pooka Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.41 2012/09/19 21:19:14 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.42 2013/04/08 20:54:47 pooka Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -591,6 +591,9 @@
 /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
 #define        LINUX_SYS_tgkill        234
 
+/* syscall: "utimes" ret: "int" args: "const char *" "struct linux_timeval *" */
+#define        LINUX_SYS_utimes        235
+
 /* syscall: "ppoll" ret: "int" args: "struct pollfd *" "int" "struct linux_timespec *" "linux_sigset_t *" */
 #define        LINUX_SYS_ppoll 271
 
diff -r 73cc1522456b -r ccd6531789a0 sys/compat/linux/arch/amd64/linux_syscallargs.h
--- a/sys/compat/linux/arch/amd64/linux_syscallargs.h   Mon Apr 08 20:54:47 2013 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscallargs.h   Mon Apr 08 20:58:21 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.43 2012/09/19 21:24:36 pooka Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.44 2013/04/08 20:58:21 pooka Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.41 2012/09/19 21:19:14 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.42 2013/04/08 20:54:47 pooka Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -892,6 +892,12 @@
 };
 check_syscall_args(linux_sys_tgkill)
 
+struct linux_sys_utimes_args {
+       syscallarg(const char *) path;
+       syscallarg(struct linux_timeval *) times;
+};
+check_syscall_args(linux_sys_utimes)
+
 struct linux_sys_ppoll_args {
        syscallarg(struct pollfd *) fds;
        syscallarg(int) nfds;
@@ -1321,6 +1327,8 @@
 
 int    linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *);
 
+int    linux_sys_utimes(struct lwp *, const struct linux_sys_utimes_args *, register_t *);
+
 int    linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
 
 int    linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *);
diff -r 73cc1522456b -r ccd6531789a0 sys/compat/linux/arch/amd64/linux_syscalls.c
--- a/sys/compat/linux/arch/amd64/linux_syscalls.c      Mon Apr 08 20:54:47 2013 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscalls.c      Mon Apr 08 20:58:21 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.43 2012/09/19 21:24:36 pooka Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.44 2013/04/08 20:58:21 pooka Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.41 2012/09/19 21:19:14 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.42 2013/04/08 20:54:47 pooka Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.43 2012/09/19 21:24:36 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.44 2013/04/08 20:58:21 pooka Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -299,7 +299,7 @@
        /* 232 */       "#232 (unimplemented epoll_wait)",
        /* 233 */       "#233 (unimplemented epoll_ctl)",
        /* 234 */       "tgkill",
-       /* 235 */       "#235 (unimplemented utimes)",
+       /* 235 */       "utimes",
        /* 236 */       "#236 (unimplemented vserver)",
        /* 237 */       "#237 (unimplemented mbind)",
        /* 238 */       "#238 (unimplemented set_mempolicy)",
diff -r 73cc1522456b -r ccd6531789a0 sys/compat/linux/arch/amd64/linux_sysent.c
--- a/sys/compat/linux/arch/amd64/linux_sysent.c        Mon Apr 08 20:54:47 2013 +0000
+++ b/sys/compat/linux/arch/amd64/linux_sysent.c        Mon Apr 08 20:58:21 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.43 2012/09/19 21:24:36 pooka Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.44 2013/04/08 20:58:22 pooka Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.41 2012/09/19 21:19:14 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.42 2013/04/08 20:54:47 pooka Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.43 2012/09/19 21:24:36 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.44 2013/04/08 20:58:22 pooka Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_sysv.h"
@@ -548,8 +548,8 @@
            linux_sys_nosys },                  /* 233 = unimplemented epoll_ctl */
        { ns(struct linux_sys_tgkill_args), 0,
            (sy_call_t *)linux_sys_tgkill },    /* 234 = tgkill */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 235 = unimplemented utimes */
+       { ns(struct linux_sys_utimes_args), SYCALL_ARG_PTR,
+           (sy_call_t *)linux_sys_utimes },    /* 235 = utimes */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 236 = unimplemented vserver */
        { 0, 0, 0,
diff -r 73cc1522456b -r ccd6531789a0 sys/compat/linux/arch/arm/linux_syscall.h
--- a/sys/compat/linux/arch/arm/linux_syscall.h Mon Apr 08 20:54:47 2013 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscall.h Mon Apr 08 20:58:21 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.52 2012/09/19 21:24:36 pooka Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.53 2013/04/08 20:58:22 pooka Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.49 2012/09/19 21:19:14 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.50 2013/04/08 20:54:48 pooka Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -646,6 +646,9 @@
 /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
 #define        LINUX_SYS_tgkill        268
 
+/* syscall: "utimes" ret: "int" args: "const char *" "struct linux_timeval *" */
+#define        LINUX_SYS_utimes        269
+
 /* syscall: "fadvise64_64" ret: "int" args: "int" "linux_off_t" "linux_off_t" "int" */
 #define        LINUX_SYS_fadvise64_64  270
 
diff -r 73cc1522456b -r ccd6531789a0 sys/compat/linux/arch/arm/linux_syscallargs.h
--- a/sys/compat/linux/arch/arm/linux_syscallargs.h     Mon Apr 08 20:54:47 2013 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscallargs.h     Mon Apr 08 20:58:21 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.52 2012/09/19 21:24:36 pooka Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.53 2013/04/08 20:58:22 pooka Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.49 2012/09/19 21:19:14 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.50 2013/04/08 20:54:48 pooka Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -958,6 +958,12 @@
 };
 check_syscall_args(linux_sys_tgkill)
 
+struct linux_sys_utimes_args {
+       syscallarg(const char *) path;
+       syscallarg(struct linux_timeval *) times;
+};
+check_syscall_args(linux_sys_utimes)
+
 struct linux_sys_fadvise64_64_args {
        syscallarg(int) fd;
        syscallarg(linux_off_t) offset;
@@ -1416,6 +1422,8 @@
 
 int    linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *);
 
+int    linux_sys_utimes(struct lwp *, const struct linux_sys_utimes_args *, register_t *);
+
 int    linux_sys_fadvise64_64(struct lwp *, const struct linux_sys_fadvise64_64_args *, register_t *);
 
 int    linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
diff -r 73cc1522456b -r ccd6531789a0 sys/compat/linux/arch/arm/linux_syscalls.c
--- a/sys/compat/linux/arch/arm/linux_syscalls.c        Mon Apr 08 20:54:47 2013 +0000
+++ b/sys/compat/linux/arch/arm/linux_syscalls.c        Mon Apr 08 20:58:21 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.52 2012/09/19 21:24:36 pooka Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.53 2013/04/08 20:58:22 pooka Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.49 2012/09/19 21:19:14 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.50 2013/04/08 20:54:48 pooka Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.52 2012/09/19 21:24:36 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.53 2013/04/08 20:58:22 pooka Exp $");
 
 #if defined(_KERNEL_OPT)
 #include <sys/param.h>
@@ -302,7 +302,7 @@
        /* 266 */       "statfs64",
        /* 267 */       "fstatfs64",
        /* 268 */       "tgkill",
-       /* 269 */       "#269 (unimplemented utimes)",
+       /* 269 */       "utimes",
        /* 270 */       "fadvise64_64",
        /* 271 */       "#271 (unimplemented pciconfig_iobase)",
        /* 272 */       "#272 (unimplemented pciconfig_read)",
diff -r 73cc1522456b -r ccd6531789a0 sys/compat/linux/arch/arm/linux_sysent.c
--- a/sys/compat/linux/arch/arm/linux_sysent.c  Mon Apr 08 20:54:47 2013 +0000
+++ b/sys/compat/linux/arch/arm/linux_sysent.c  Mon Apr 08 20:58:21 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.52 2012/09/19 21:24:36 pooka Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.53 2013/04/08 20:58:22 pooka Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.49 2012/09/19 21:19:14 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.50 2013/04/08 20:54:48 pooka Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.52 2012/09/19 21:24:36 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.53 2013/04/08 20:58:22 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/poll.h>
@@ -574,8 +574,8 @@
            (sy_call_t *)linux_sys_fstatfs64 }, /* 267 = fstatfs64 */
        { ns(struct linux_sys_tgkill_args), 0,
            (sy_call_t *)linux_sys_tgkill },    /* 268 = tgkill */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 269 = unimplemented utimes */
+       { ns(struct linux_sys_utimes_args), SYCALL_ARG_PTR,
+           (sy_call_t *)linux_sys_utimes },    /* 269 = utimes */
        { ns(struct linux_sys_fadvise64_64_args), 0,
            (sy_call_t *)linux_sys_fadvise64_64 },/* 270 = fadvise64_64 */
        { 0, 0, 0,
diff -r 73cc1522456b -r ccd6531789a0 sys/compat/linux/arch/i386/linux_syscall.h
--- a/sys/compat/linux/arch/i386/linux_syscall.h        Mon Apr 08 20:54:47 2013 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscall.h        Mon Apr 08 20:58:21 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.93 2012/09/19 21:24:36 pooka Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.94 2013/04/08 20:58:23 pooka Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.108 2012/09/19 21:19:14 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.109 2013/04/08 20:54:48 pooka Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -668,6 +668,9 @@
 /* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
 #define        LINUX_SYS_tgkill        270
 
+/* syscall: "utimes" ret: "int" args: "const char *" "struct linux_timeval *" */
+#define        LINUX_SYS_utimes        271
+
 /* syscall: "fadvise64_64" ret: "int" args: "int" "linux_off_t" "linux_off_t" "int" */
 #define        LINUX_SYS_fadvise64_64  272
 
diff -r 73cc1522456b -r ccd6531789a0 sys/compat/linux/arch/i386/linux_syscallargs.h
--- a/sys/compat/linux/arch/i386/linux_syscallargs.h    Mon Apr 08 20:54:47 2013 +0000
+++ b/sys/compat/linux/arch/i386/linux_syscallargs.h    Mon Apr 08 20:58:21 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.93 2012/09/19 21:24:36 pooka Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.94 2013/04/08 20:58:23 pooka Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.108 2012/09/19 21:19:14 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.109 2013/04/08 20:54:48 pooka Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1005,6 +1005,12 @@
 };
 check_syscall_args(linux_sys_tgkill)
 
+struct linux_sys_utimes_args {
+       syscallarg(const char *) path;



Home | Main Index | Thread Index | Old Index