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/powerpc Regen.



details:   https://anonhg.NetBSD.org/src/rev/54288357e98d
branches:  trunk
changeset: 325183:54288357e98d
user:      njoly <njoly%NetBSD.org@localhost>
date:      Tue Dec 10 14:55:07 2013 +0000

description:
Regen.

diffstat:

 sys/compat/linux/arch/powerpc/linux_syscall.h     |  40 ++++++++-
 sys/compat/linux/arch/powerpc/linux_syscallargs.h |  99 ++++++++++++++++++++++-
 sys/compat/linux/arch/powerpc/linux_syscalls.c    |  30 +++---
 sys/compat/linux/arch/powerpc/linux_sysent.c      |  54 ++++++------
 4 files changed, 177 insertions(+), 46 deletions(-)

diffs (truncated from 315 to 300 lines):

diff -r 58ae5f4f4df6 -r 54288357e98d sys/compat/linux/arch/powerpc/linux_syscall.h
--- a/sys/compat/linux/arch/powerpc/linux_syscall.h     Tue Dec 10 14:54:36 2013 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_syscall.h     Tue Dec 10 14:55:07 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.63 2013/12/08 15:56:13 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.64 2013/12/10 14:55:07 njoly Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.57 2013/12/08 15:55:10 njoly Exp  
+ * created from        NetBSD: syscalls.master,v 1.58 2013/12/10 14:54:36 njoly Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -603,6 +603,42 @@
 /* syscall: "ppoll" ret: "int" args: "struct pollfd *" "int" "struct linux_timespec *" "linux_sigset_t *" */
 #define        LINUX_SYS_ppoll 281
 
+/* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */
+#define        LINUX_SYS_openat        286
+
+/* syscall: "mkdirat" ret: "int" args: "int" "const char *" "linux_umode_t" */
+#define        LINUX_SYS_mkdirat       287
+
+/* syscall: "mknodat" ret: "int" args: "int" "const char *" "linux_umode_t" "unsigned" */
+#define        LINUX_SYS_mknodat       288
+
+/* syscall: "fchownat" ret: "int" args: "int" "const char *" "uid_t" "gid_t" "int" */
+#define        LINUX_SYS_fchownat      289
+
+/* syscall: "fstatat64" ret: "int" args: "int" "const char *" "struct linux_stat64 *" "int" */
+#define        LINUX_SYS_fstatat64     291
+
+/* syscall: "unlinkat" ret: "int" args: "int" "const char *" "int" */
+#define        LINUX_SYS_unlinkat      292
+
+/* syscall: "renameat" ret: "int" args: "int" "const char *" "int" "const char *" */
+#define        LINUX_SYS_renameat      293
+
+/* syscall: "linkat" ret: "int" args: "int" "const char *" "int" "const char *" "int" */
+#define        LINUX_SYS_linkat        294
+
+/* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
+#define        LINUX_SYS_symlinkat     295
+
+/* syscall: "readlinkat" ret: "int" args: "int" "const char *" "char *" "size_t" */
+#define        LINUX_SYS_readlinkat    296
+
+/* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */
+#define        LINUX_SYS_fchmodat      297
+
+/* syscall: "faccessat" ret: "int" args: "int" "const char *" "int" */
+#define        LINUX_SYS_faccessat     298
+
 /* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
 #define        LINUX_SYS_set_robust_list       299
 
diff -r 58ae5f4f4df6 -r 54288357e98d sys/compat/linux/arch/powerpc/linux_syscallargs.h
--- a/sys/compat/linux/arch/powerpc/linux_syscallargs.h Tue Dec 10 14:54:36 2013 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_syscallargs.h Tue Dec 10 14:55:07 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.62 2013/12/08 15:56:13 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.63 2013/12/10 14:55:07 njoly Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.57 2013/12/08 15:55:10 njoly Exp  
+ * created from        NetBSD: syscalls.master,v 1.58 2013/12/10 14:54:36 njoly Exp  
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -913,6 +913,77 @@
 };
 check_syscall_args(linux_sys_ppoll)
 
+struct linux_sys_openat_args {
+       syscallarg(int) fd;
+       syscallarg(const char *) path;
+       syscallarg(int) flags;
+       syscallarg(linux_umode_t) mode;
+};
+check_syscall_args(linux_sys_openat)
+
+struct sys_mkdirat_args;
+
+struct linux_sys_mknodat_args {
+       syscallarg(int) fd;
+       syscallarg(const char *) path;
+       syscallarg(linux_umode_t) mode;
+       syscallarg(unsigned) dev;
+};
+check_syscall_args(linux_sys_mknodat)
+
+struct linux_sys_fchownat_args {
+       syscallarg(int) fd;
+       syscallarg(const char *) path;
+       syscallarg(uid_t) owner;
+       syscallarg(gid_t) group;
+       syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_fchownat)
+
+struct linux_sys_fstatat64_args {
+       syscallarg(int) fd;
+       syscallarg(const char *) path;
+       syscallarg(struct linux_stat64 *) sp;
+       syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_fstatat64)
+
+struct linux_sys_unlinkat_args {
+       syscallarg(int) fd;
+       syscallarg(const char *) path;
+       syscallarg(int) flag;
+};
+check_syscall_args(linux_sys_unlinkat)
+
+struct sys_renameat_args;
+
+struct linux_sys_linkat_args {
+       syscallarg(int) fd1;
+       syscallarg(const char *) name1;
+       syscallarg(int) fd2;
+       syscallarg(const char *) name2;
+       syscallarg(int) flags;
+};
+check_syscall_args(linux_sys_linkat)
+
+struct sys_symlinkat_args;
+
+struct sys_readlinkat_args;
+
+struct linux_sys_fchmodat_args {
+       syscallarg(int) fd;
+       syscallarg(const char *) path;
+       syscallarg(linux_umode_t) mode;
+};
+check_syscall_args(linux_sys_fchmodat)
+
+struct linux_sys_faccessat_args {
+       syscallarg(int) fd;
+       syscallarg(const char *) path;
+       syscallarg(int) amode;
+};
+check_syscall_args(linux_sys_faccessat)
+
 struct linux_sys_set_robust_list_args {
        syscallarg(struct linux_robust_list_head *) head;
        syscallarg(size_t) len;
@@ -1339,6 +1410,30 @@
 
 int    linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *);
 
+int    linux_sys_openat(struct lwp *, const struct linux_sys_openat_args *, register_t *);
+
+int    sys_mkdirat(struct lwp *, const struct sys_mkdirat_args *, register_t *);
+
+int    linux_sys_mknodat(struct lwp *, const struct linux_sys_mknodat_args *, register_t *);
+
+int    linux_sys_fchownat(struct lwp *, const struct linux_sys_fchownat_args *, register_t *);
+
+int    linux_sys_fstatat64(struct lwp *, const struct linux_sys_fstatat64_args *, register_t *);
+
+int    linux_sys_unlinkat(struct lwp *, const struct linux_sys_unlinkat_args *, register_t *);
+
+int    sys_renameat(struct lwp *, const struct sys_renameat_args *, register_t *);
+
+int    linux_sys_linkat(struct lwp *, const struct linux_sys_linkat_args *, register_t *);
+
+int    sys_symlinkat(struct lwp *, const struct sys_symlinkat_args *, register_t *);
+
+int    sys_readlinkat(struct lwp *, const struct sys_readlinkat_args *, register_t *);
+
+int    linux_sys_fchmodat(struct lwp *, const struct linux_sys_fchmodat_args *, register_t *);
+
+int    linux_sys_faccessat(struct lwp *, const struct linux_sys_faccessat_args *, register_t *);
+
 int    linux_sys_set_robust_list(struct lwp *, const struct linux_sys_set_robust_list_args *, register_t *);
 
 int    linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
diff -r 58ae5f4f4df6 -r 54288357e98d sys/compat/linux/arch/powerpc/linux_syscalls.c
--- a/sys/compat/linux/arch/powerpc/linux_syscalls.c    Tue Dec 10 14:54:36 2013 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_syscalls.c    Tue Dec 10 14:55:07 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.62 2013/12/08 15:56:13 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.63 2013/12/10 14:55:07 njoly Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.57 2013/12/08 15:55:10 njoly Exp  
+ * created from        NetBSD: syscalls.master,v 1.58 2013/12/10 14:54:36 njoly Exp  
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.62 2013/12/08 15:56:13 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.63 2013/12/10 14:55:07 njoly Exp $");
 
 #if defined(_KERNEL_OPT)
 #include <sys/param.h>
@@ -317,19 +317,19 @@
        /* 283 */       "#283 (unimplemented splice)",
        /* 284 */       "#284 (unimplemented tee)",
        /* 285 */       "#285 (unimplemented vmsplice)",
-       /* 286 */       "#286 (unimplemented openat)",
-       /* 287 */       "#287 (unimplemented mkdirat)",
-       /* 288 */       "#288 (unimplemented mknodat)",
-       /* 289 */       "#289 (unimplemented fchownat)",
+       /* 286 */       "openat",
+       /* 287 */       "mkdirat",
+       /* 288 */       "mknodat",
+       /* 289 */       "fchownat",
        /* 290 */       "#290 (unimplemented futimesat)",
-       /* 291 */       "#291 (unimplemented fstatat64)",
-       /* 292 */       "#292 (unimplemented unlinkat)",
-       /* 293 */       "#293 (unimplemented renameat)",
-       /* 294 */       "#294 (unimplemented linkat)",
-       /* 295 */       "#295 (unimplemented symlinkat)",
-       /* 296 */       "#296 (unimplemented readlinkat)",
-       /* 297 */       "#297 (unimplemented fchmodat)",
-       /* 298 */       "#298 (unimplemented faccessat)",
+       /* 291 */       "fstatat64",
+       /* 292 */       "unlinkat",
+       /* 293 */       "renameat",
+       /* 294 */       "linkat",
+       /* 295 */       "symlinkat",
+       /* 296 */       "readlinkat",
+       /* 297 */       "fchmodat",
+       /* 298 */       "faccessat",
        /* 299 */       "set_robust_list",
        /* 300 */       "get_robust_list",
        /* 301 */       "#301 (unimplemented move_pages)",
diff -r 58ae5f4f4df6 -r 54288357e98d sys/compat/linux/arch/powerpc/linux_sysent.c
--- a/sys/compat/linux/arch/powerpc/linux_sysent.c      Tue Dec 10 14:54:36 2013 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_sysent.c      Tue Dec 10 14:55:07 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.63 2013/12/08 15:56:13 njoly Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.64 2013/12/10 14:55:07 njoly Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.57 2013/12/08 15:55:10 njoly Exp  
+ * created from        NetBSD: syscalls.master,v 1.58 2013/12/10 14:54:36 njoly Exp  
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.63 2013/12/08 15:56:13 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.64 2013/12/10 14:55:07 njoly Exp $");
 
 #include <sys/param.h>
 #include <sys/poll.h>
@@ -606,32 +606,32 @@
            linux_sys_nosys },                  /* 284 = unimplemented tee */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 285 = unimplemented vmsplice */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 286 = unimplemented openat */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 287 = unimplemented mkdirat */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 288 = unimplemented mknodat */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 289 = unimplemented fchownat */
+       { ns(struct linux_sys_openat_args), SYCALL_ARG_PTR,
+           (sy_call_t *)linux_sys_openat },    /* 286 = openat */
+       { ns(struct sys_mkdirat_args), SYCALL_ARG_PTR,
+           (sy_call_t *)sys_mkdirat },         /* 287 = mkdirat */
+       { ns(struct linux_sys_mknodat_args), SYCALL_ARG_PTR,
+           (sy_call_t *)linux_sys_mknodat },   /* 288 = mknodat */
+       { ns(struct linux_sys_fchownat_args), SYCALL_ARG_PTR,
+           (sy_call_t *)linux_sys_fchownat },  /* 289 = fchownat */
        { 0, 0, 0,
            linux_sys_nosys },                  /* 290 = unimplemented futimesat */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 291 = unimplemented fstatat64 */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 292 = unimplemented unlinkat */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 293 = unimplemented renameat */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 294 = unimplemented linkat */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 295 = unimplemented symlinkat */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 296 = unimplemented readlinkat */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 297 = unimplemented fchmodat */
-       { 0, 0, 0,
-           linux_sys_nosys },                  /* 298 = unimplemented faccessat */
+       { ns(struct linux_sys_fstatat64_args), SYCALL_ARG_PTR,
+           (sy_call_t *)linux_sys_fstatat64 }, /* 291 = fstatat64 */
+       { ns(struct linux_sys_unlinkat_args), SYCALL_ARG_PTR,
+           (sy_call_t *)linux_sys_unlinkat },  /* 292 = unlinkat */



Home | Main Index | Thread Index | Old Index