Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/kern/lib/libsys_linux Regen for utimensat(2).



details:   https://anonhg.NetBSD.org/src/rev/3775d7dc1547
branches:  trunk
changeset: 790389:3775d7dc1547
user:      njoly <njoly%NetBSD.org@localhost>
date:      Sat Oct 05 09:22:43 2013 +0000

description:
Regen for utimensat(2).

diffstat:

 sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h     |   4 ++--
 sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h |  14 ++++++++++++--
 sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c    |   8 ++++----
 sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c      |  10 +++++-----
 4 files changed, 23 insertions(+), 13 deletions(-)

diffs (116 lines):

diff -r 9bdef1df69de -r 3775d7dc1547 sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h       Sat Oct 05 09:22:01 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h       Sat Oct 05 09:22:43 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_linux_syscall.h,v 1.2 2013/04/08 20:58:27 pooka Exp $ */
+/* $NetBSD: rump_linux_syscall.h,v 1.3 2013/10/05 09:22:43 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.4 2013/04/08 20:54:47 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.5 2013/10/05 09:22:01 njoly Exp
  */
 
 #ifndef _RUMP_LINUX_SYS_SYSCALL_H_
diff -r 9bdef1df69de -r 3775d7dc1547 sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h   Sat Oct 05 09:22:01 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h   Sat Oct 05 09:22:43 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_linux_syscallargs.h,v 1.5 2013/04/08 20:58:27 pooka Exp $ */
+/* $NetBSD: rump_linux_syscallargs.h,v 1.6 2013/10/05 09:22:43 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.4 2013/04/08 20:54:47 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.5 2013/10/05 09:22:01 njoly Exp
  */
 
 #ifndef _RUMP_LINUX_SYS_SYSCALLARGS_H_
@@ -341,6 +341,14 @@
 };
 check_syscall_args(linux_sys_mknod)
 
+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)
+
 /*
  * System call prototypes.
  */
@@ -511,4 +519,6 @@
 
 int    linux_sys_mknod(struct lwp *, const struct linux_sys_mknod_args *, register_t *);
 
+int    linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
+
 #endif /* _RUMP_LINUX_SYS_SYSCALLARGS_H_ */
diff -r 9bdef1df69de -r 3775d7dc1547 sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c      Sat Oct 05 09:22:01 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c      Sat Oct 05 09:22:43 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: rump_linux_syscalls.c,v 1.5 2013/04/08 20:58:27 pooka Exp $ */
+/* $NetBSD: rump_linux_syscalls.c,v 1.6 2013/10/05 09:22:43 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.4 2013/04/08 20:54:47 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.5 2013/10/05 09:22:01 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_linux_syscalls.c,v 1.5 2013/04/08 20:58:27 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_linux_syscalls.c,v 1.6 2013/10/05 09:22:43 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include <sys/param.h>
@@ -491,7 +491,7 @@
        /* 464 */       "#464 (unimplemented fchownat)",
        /* 465 */       "#465 (unimplemented fexecve)",
        /* 466 */       "#466 (unimplemented fstatat)",
-       /* 467 */       "#467 (unimplemented utimensat)",
+       /* 467 */       "utimensat",
        /* 468 */       "#468 (unimplemented openat)",
        /* 469 */       "#469 (unimplemented readlinkat)",
        /* 470 */       "#470 (unimplemented symlinkat)",
diff -r 9bdef1df69de -r 3775d7dc1547 sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c        Sat Oct 05 09:22:01 2013 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c        Sat Oct 05 09:22:43 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: rump_linux_sysent.c,v 1.5 2013/04/08 20:58:27 pooka Exp $ */
+/* $NetBSD: rump_linux_sysent.c,v 1.6 2013/10/05 09:22:43 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.4 2013/04/08 20:54:47 pooka Exp
+ * created from        NetBSD: syscalls.master,v 1.5 2013/10/05 09:22:01 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_linux_sysent.c,v 1.5 2013/04/08 20:58:27 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_linux_sysent.c,v 1.6 2013/10/05 09:22:43 njoly Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -960,8 +960,8 @@
            linux_sys_nosys },                  /* 465 = unimplemented fexecve */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 466 = unimplemented fstatat */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 467 = unimplemented utimensat */
+       { ns(struct linux_sys_utimensat_args), SYCALL_ARG_PTR,
+           (sy_call_t *)linux_sys_utimensat }, /* 467 = utimensat */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 468 = unimplemented openat */
        { 0, 0, 0,



Home | Main Index | Thread Index | Old Index