Source-Changes-HG archive

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

[src/trunk]: src/sys/compat regen



details:   https://anonhg.NetBSD.org/src/rev/2ad812d9df41
branches:  trunk
changeset: 791432:2ad812d9df41
user:      chs <chs%NetBSD.org@localhost>
date:      Mon Nov 18 01:36:35 2013 +0000

description:
regen

diffstat:

 sys/compat/linux/arch/amd64/linux_syscall.h         |   54 +++++++-
 sys/compat/linux/arch/amd64/linux_syscallargs.h     |  105 +++++++++++++++++-
 sys/compat/linux/arch/amd64/linux_syscalls.c        |   60 +++++-----
 sys/compat/linux/arch/amd64/linux_sysent.c          |   84 +++++++-------
 sys/compat/linux/arch/i386/linux_syscall.h          |   54 +++++++-
 sys/compat/linux/arch/i386/linux_syscallargs.h      |  107 +++++++++++++++++-
 sys/compat/linux/arch/i386/linux_syscalls.c         |   56 ++++----
 sys/compat/linux/arch/i386/linux_sysent.c           |   80 ++++++------
 sys/compat/linux32/arch/amd64/linux32_syscall.h     |   57 ++++++++-
 sys/compat/linux32/arch/amd64/linux32_syscallargs.h |  117 ++++++++++++++++++-
 sys/compat/linux32/arch/amd64/linux32_syscalls.c    |   60 +++++-----
 sys/compat/linux32/arch/amd64/linux32_sysent.c      |   86 +++++++-------
 12 files changed, 663 insertions(+), 257 deletions(-)

diffs (truncated from 1507 to 300 lines):

diff -r fa2576adb8f4 -r 2ad812d9df41 sys/compat/linux/arch/amd64/linux_syscall.h
--- a/sys/compat/linux/arch/amd64/linux_syscall.h       Mon Nov 18 01:32:52 2013 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscall.h       Mon Nov 18 01:36:35 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.46 2013/11/07 19:39:58 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.47 2013/11/18 01:36:35 chs Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.44 2013/11/07 19:37:18 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.45 2013/11/18 01:32:52 chs Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALL_H_
@@ -18,7 +18,7 @@
 /* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
 #define        LINUX_SYS_write 1
 
-/* syscall: "open" ret: "int" args: "const char *" "int" "int" */
+/* syscall: "open" ret: "int" args: "const char *" "int" "linux_umode_t" */
 #define        LINUX_SYS_open  2
 
 /* syscall: "close" ret: "int" args: "int" */
@@ -270,7 +270,7 @@
 /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
 #define        LINUX_SYS___posix_rename        82
 
-/* syscall: "mkdir" ret: "int" args: "const char *" "int" */
+/* syscall: "mkdir" ret: "int" args: "const char *" "linux_umode_t" */
 #define        LINUX_SYS_mkdir 83
 
 /* syscall: "rmdir" ret: "int" args: "const char *" */
@@ -291,10 +291,10 @@
 /* syscall: "readlink" ret: "int" args: "const char *" "char *" "int" */
 #define        LINUX_SYS_readlink      89
 
-/* syscall: "chmod" ret: "int" args: "const char *" "int" */
+/* syscall: "chmod" ret: "int" args: "const char *" "linux_umode_t" */
 #define        LINUX_SYS_chmod 90
 
-/* syscall: "fchmod" ret: "int" args: "int" "int" */
+/* syscall: "fchmod" ret: "int" args: "int" "linux_umode_t" */
 #define        LINUX_SYS_fchmod        91
 
 /* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
@@ -411,7 +411,7 @@
 /* syscall: "utime" ret: "int" args: "const char *" "struct linux_utimbuf *" */
 #define        LINUX_SYS_utime 132
 
-/* syscall: "mknod" ret: "int" args: "const char *" "int" "int" */
+/* syscall: "mknod" ret: "int" args: "const char *" "linux_umode_t" "unsigned" */
 #define        LINUX_SYS_mknod 133
 
 #ifdef EXEC_AOUT
@@ -594,6 +594,42 @@
 /* syscall: "utimes" ret: "int" args: "const char *" "struct linux_timeval *" */
 #define        LINUX_SYS_utimes        235
 
+/* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */
+#define        LINUX_SYS_openat        257
+
+/* syscall: "mkdirat" ret: "int" args: "int" "const char *" "linux_umode_t" */
+#define        LINUX_SYS_mkdirat       258
+
+/* syscall: "mknodat" ret: "int" args: "int" "const char *" "linux_umode_t" "unsigned" */
+#define        LINUX_SYS_mknodat       259
+
+/* syscall: "fchownat" ret: "int" args: "int" "const char *" "uid_t" "gid_t" "int" */
+#define        LINUX_SYS_fchownat      260
+
+/* syscall: "fstatat64" ret: "int" args: "int" "const char *" "struct linux_stat *" "int" */
+#define        LINUX_SYS_fstatat64     262
+
+/* syscall: "unlinkat" ret: "int" args: "int" "const char *" "int" */
+#define        LINUX_SYS_unlinkat      263
+
+/* syscall: "renameat" ret: "int" args: "int" "const char *" "int" "const char *" */
+#define        LINUX_SYS_renameat      264
+
+/* syscall: "linkat" ret: "int" args: "int" "const char *" "int" "const char *" "int" */
+#define        LINUX_SYS_linkat        265
+
+/* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
+#define        LINUX_SYS_symlinkat     266
+
+/* syscall: "readlinkat" ret: "int" args: "int" "const char *" "char *" "size_t" */
+#define        LINUX_SYS_readlinkat    267
+
+/* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */
+#define        LINUX_SYS_fchmodat      268
+
+/* syscall: "faccessat" ret: "int" args: "int" "const char *" "int" */
+#define        LINUX_SYS_faccessat     269
+
 /* syscall: "ppoll" ret: "int" args: "struct pollfd *" "int" "struct linux_timespec *" "linux_sigset_t *" */
 #define        LINUX_SYS_ppoll 271
 
@@ -613,8 +649,8 @@
 #define        LINUX_SYS_pipe2 293
 
 /* syscall: "nosys" ret: "int" args: */
-#define        LINUX_SYS_nosys 300
+#define        LINUX_SYS_nosys 314
 
-#define        LINUX_SYS_MAXSYSCALL    301
+#define        LINUX_SYS_MAXSYSCALL    315
 #define        LINUX_SYS_NSYSENT       512
 #endif /* _LINUX_SYS_SYSCALL_H_ */
diff -r fa2576adb8f4 -r 2ad812d9df41 sys/compat/linux/arch/amd64/linux_syscallargs.h
--- a/sys/compat/linux/arch/amd64/linux_syscallargs.h   Mon Nov 18 01:32:52 2013 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscallargs.h   Mon Nov 18 01:36:35 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.46 2013/11/07 19:39:58 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.47 2013/11/18 01:36:35 chs Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.44 2013/11/07 19:37:18 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.45 2013/11/18 01:32:52 chs Exp
  */
 
 #ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -38,7 +38,7 @@
 struct linux_sys_open_args {
        syscallarg(const char *) path;
        syscallarg(int) flags;
-       syscallarg(int) mode;
+       syscallarg(linux_umode_t) mode;
 };
 check_syscall_args(linux_sys_open)
 
@@ -559,8 +559,8 @@
 
 struct linux_sys_mknod_args {
        syscallarg(const char *) path;
-       syscallarg(int) mode;
-       syscallarg(int) dev;
+       syscallarg(linux_umode_t) mode;
+       syscallarg(unsigned) dev;
 };
 check_syscall_args(linux_sys_mknod)
 #ifdef EXEC_AOUT
@@ -898,6 +898,77 @@
 };
 check_syscall_args(linux_sys_utimes)
 
+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_stat *) 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_ppoll_args {
        syscallarg(struct pollfd *) fds;
        syscallarg(int) nfds;
@@ -1337,6 +1408,30 @@
 
 int    linux_sys_utimes(struct lwp *, const struct linux_sys_utimes_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_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 fa2576adb8f4 -r 2ad812d9df41 sys/compat/linux/arch/amd64/linux_syscalls.c
--- a/sys/compat/linux/arch/amd64/linux_syscalls.c      Mon Nov 18 01:32:52 2013 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscalls.c      Mon Nov 18 01:36:35 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.46 2013/11/07 19:39:58 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.47 2013/11/18 01:36:35 chs Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.44 2013/11/07 19:37:18 njoly Exp
+ * created from        NetBSD: syscalls.master,v 1.45 2013/11/18 01:32:52 chs Exp
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.46 2013/11/07 19:39:58 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.47 2013/11/18 01:36:35 chs Exp $");
 
 #if defined(_KERNEL_OPT)
 #if defined(_KERNEL_OPT)
@@ -321,19 +321,19 @@
        /* 254 */       "#254 (unimplemented inotify_add_watch)",
        /* 255 */       "#255 (unimplemented inotify_rm_watch)",
        /* 256 */       "#256 (unimplemented migrate_pages)",
-       /* 257 */       "#257 (unimplemented openat)",
-       /* 258 */       "#258 (unimplemented mkdirat)",
-       /* 259 */       "#259 (unimplemented mknodat)",
-       /* 260 */       "#260 (unimplemented fchownat)",
+       /* 257 */       "openat",
+       /* 258 */       "mkdirat",
+       /* 259 */       "mknodat",
+       /* 260 */       "fchownat",
        /* 261 */       "#261 (unimplemented futimesat)",
-       /* 262 */       "#262 (unimplemented newfstatat)",
-       /* 263 */       "#263 (unimplemented unlinkat)",
-       /* 264 */       "#264 (unimplemented renameat)",
-       /* 265 */       "#265 (unimplemented linkat)",
-       /* 266 */       "#266 (unimplemented symlinkat)",
-       /* 267 */       "#267 (unimplemented readlinkat)",
-       /* 268 */       "#268 (unimplemented fchmodat)",
-       /* 269 */       "#269 (unimplemented faccessat)",
+       /* 262 */       "fstatat64",
+       /* 263 */       "unlinkat",
+       /* 264 */       "renameat",



Home | Main Index | Thread Index | Old Index