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 pipe2 and lchown.



details:   https://anonhg.NetBSD.org/src/rev/d22c349217d5
branches:  trunk
changeset: 793048:d22c349217d5
user:      njoly <njoly%NetBSD.org@localhost>
date:      Sat Jan 25 10:31:01 2014 +0000

description:
Regen for pipe2 and lchown.

diffstat:

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

diffs (170 lines):

diff -r 09a7163d9d22 -r d22c349217d5 sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h       Sat Jan 25 10:30:22 2014 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscall.h       Sat Jan 25 10:31:01 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_linux_syscall.h,v 1.10 2014/01/10 20:10:43 njoly Exp $ */
+/* $NetBSD: rump_linux_syscall.h,v 1.11 2014/01/25 10:31:01 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.12 2014/01/10 20:10:23 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.13 2014/01/25 10:30:22 njoly Exp
  */
 
 #ifndef _RUMP_LINUX_SYS_SYSCALL_H_
@@ -222,6 +222,9 @@
 /* syscall: "fdatasync" ret: "int" args: "int" */
 #define        RUMP_LINUX_SYS_fdatasync        241
 
+/* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
+#define        RUMP_LINUX_SYS___posix_lchown   275
+
 /* syscall: "getsid" ret: "pid_t" args: "pid_t" */
 #define        RUMP_LINUX_SYS_getsid   286
 
@@ -264,6 +267,9 @@
 /* syscall: "mknod" ret: "int" args: "const char *" "mode_t" "int" */
 #define        RUMP_LINUX_SYS_mknod    450
 
+/* syscall: "pipe2" ret: "int" args: "int *" "int" */
+#define        RUMP_LINUX_SYS_pipe2    453
+
 /* syscall: "dup3" ret: "int" args: "int" "int" "int" */
 #define        RUMP_LINUX_SYS_dup3     454
 
diff -r 09a7163d9d22 -r d22c349217d5 sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h   Sat Jan 25 10:30:22 2014 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscallargs.h   Sat Jan 25 10:31:01 2014 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: rump_linux_syscallargs.h,v 1.13 2014/01/10 20:10:43 njoly Exp $ */
+/* $NetBSD: rump_linux_syscallargs.h,v 1.14 2014/01/25 10:31:01 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.12 2014/01/10 20:10:23 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.13 2014/01/25 10:30:22 njoly Exp
  */
 
 #ifndef _RUMP_LINUX_SYS_SYSCALLARGS_H_
@@ -153,6 +153,8 @@
 
 struct linux_sys_fdatasync_args;
 
+struct sys___posix_lchown_args;
+
 struct sys_getsid_args;
 
 struct sys___getcwd_args;
@@ -181,6 +183,8 @@
 
 struct linux_sys_mknod_args;
 
+struct linux_sys_pipe2_args;
+
 struct linux_sys_dup3_args;
 
 struct linux_sys_linkat_args;
@@ -360,6 +364,8 @@
 
 int    linux_sys_fdatasync(struct lwp *, const struct linux_sys_fdatasync_args *, register_t *);
 
+int    sys___posix_lchown(struct lwp *, const struct sys___posix_lchown_args *, register_t *);
+
 int    sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *);
 
 int    sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *);
@@ -388,6 +394,8 @@
 
 int    linux_sys_mknod(struct lwp *, const struct linux_sys_mknod_args *, register_t *);
 
+int    linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
+
 int    linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *);
 
 int    linux_sys_linkat(struct lwp *, const struct linux_sys_linkat_args *, register_t *);
diff -r 09a7163d9d22 -r d22c349217d5 sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c      Sat Jan 25 10:30:22 2014 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_syscalls.c      Sat Jan 25 10:31:01 2014 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: rump_linux_syscalls.c,v 1.13 2014/01/10 20:10:43 njoly Exp $ */
+/* $NetBSD: rump_linux_syscalls.c,v 1.14 2014/01/25 10:31:01 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.12 2014/01/10 20:10:23 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.13 2014/01/25 10:30:22 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_linux_syscalls.c,v 1.13 2014/01/10 20:10:43 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_linux_syscalls.c,v 1.14 2014/01/25 10:31:01 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include <sys/param.h>
@@ -304,7 +304,7 @@
        /* 272 */       "#272 (unimplemented getdents)",
        /* 273 */       "#273 (unimplemented minherit)",
        /* 274 */       "#274 (unimplemented lchmod)",
-       /* 275 */       "#275 (unimplemented lchown)",
+       /* 275 */       "__posix_lchown",
        /* 276 */       "#276 (unimplemented lutimes)",
        /* 277 */       "#277 (unimplemented msync)",
        /* 278 */       "#278 (unimplemented stat)",
@@ -482,7 +482,7 @@
        /* 450 */       "mknod",
        /* 451 */       "#451 (unimplemented fhstat)",
        /* 452 */       "#452 (unimplemented 5.99 quotactl)",
-       /* 453 */       "#453 (unimplemented pipe2)",
+       /* 453 */       "pipe2",
        /* 454 */       "dup3",
        /* 455 */       "#455 (unimplemented kqueue1)",
        /* 456 */       "#456 (unimplemented paccept)",
diff -r 09a7163d9d22 -r d22c349217d5 sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c
--- a/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c        Sat Jan 25 10:30:22 2014 +0000
+++ b/sys/rump/kern/lib/libsys_linux/rump_linux_sysent.c        Sat Jan 25 10:31:01 2014 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: rump_linux_sysent.c,v 1.13 2014/01/10 20:10:43 njoly Exp $ */
+/* $NetBSD: rump_linux_sysent.c,v 1.14 2014/01/25 10:31:01 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.12 2014/01/10 20:10:23 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.13 2014/01/25 10:30:22 njoly Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rump_linux_sysent.c,v 1.13 2014/01/10 20:10:43 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rump_linux_sysent.c,v 1.14 2014/01/25 10:31:01 njoly Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -581,8 +581,8 @@
            linux_sys_nosys },                  /* 273 = unimplemented minherit */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 274 = unimplemented lchmod */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 275 = unimplemented lchown */
+       { ns(struct sys___posix_lchown_args), SYCALL_ARG_PTR,
+           (sy_call_t *)sys___posix_lchown },  /* 275 = __posix_lchown */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 276 = unimplemented lutimes */
        { 0, 0, 0,
@@ -937,8 +937,8 @@
            linux_sys_nosys },                  /* 451 = unimplemented fhstat */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 452 = unimplemented 5.99 quotactl */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 453 = unimplemented pipe2 */
+       { ns(struct linux_sys_pipe2_args), SYCALL_ARG_PTR,
+           (sy_call_t *)linux_sys_pipe2 },     /* 453 = pipe2 */
        { ns(struct linux_sys_dup3_args), 0,
            (sy_call_t *)linux_sys_dup3 },      /* 454 = dup3 */
        { 0, 0, 0,



Home | Main Index | Thread Index | Old Index