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 regen
details: https://anonhg.NetBSD.org/src/rev/0a4f3f0a9292
branches: trunk
changeset: 791453:0a4f3f0a9292
user: chs <chs%NetBSD.org@localhost>
date: Tue Nov 19 03:53:09 2013 +0000
description:
regen
diffstat:
sys/compat/linux/arch/alpha/linux_syscall.h | 37 ++++++++-
sys/compat/linux/arch/alpha/linux_syscallargs.h | 89 +++++++++++++++++++++-
sys/compat/linux/arch/alpha/linux_syscalls.c | 30 +++---
sys/compat/linux/arch/alpha/linux_sysent.c | 52 ++++++------
sys/compat/linux/arch/arm/linux_syscall.h | 40 +++++++++-
sys/compat/linux/arch/arm/linux_syscallargs.h | 99 ++++++++++++++++++++++++-
sys/compat/linux/arch/arm/linux_syscalls.c | 30 +++---
sys/compat/linux/arch/arm/linux_sysent.c | 54 ++++++------
sys/compat/linux/arch/m68k/linux_syscall.h | 40 +++++++++-
sys/compat/linux/arch/m68k/linux_syscallargs.h | 99 ++++++++++++++++++++++++-
sys/compat/linux/arch/m68k/linux_syscalls.c | 30 +++---
sys/compat/linux/arch/m68k/linux_sysent.c | 54 ++++++------
sys/compat/linux/arch/mips/linux_syscall.h | 40 +++++++++-
sys/compat/linux/arch/mips/linux_syscallargs.h | 99 ++++++++++++++++++++++++-
sys/compat/linux/arch/mips/linux_syscalls.c | 30 +++---
sys/compat/linux/arch/mips/linux_sysent.c | 54 ++++++------
16 files changed, 694 insertions(+), 183 deletions(-)
diffs (truncated from 1246 to 300 lines):
diff -r 49f7352f5485 -r 0a4f3f0a9292 sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h Tue Nov 19 03:52:07 2013 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h Tue Nov 19 03:53:09 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.85 2013/09/24 13:28:50 njoly Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.86 2013/11/19 03:53:09 chs Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.79 2013/09/24 13:27:49 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.80 2013/11/19 03:52:07 chs Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -594,6 +594,39 @@
/* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
#define LINUX_SYS_tgkill 424
+/* syscall: "openat" ret: "int" args: "int" "const char *" "int" "..." */
+#define LINUX_SYS_openat 450
+
+/* syscall: "mkdirat" ret: "int" args: "int" "const char *" "linux_umode_t" */
+#define LINUX_SYS_mkdirat 451
+
+/* syscall: "mknodat" ret: "int" args: "int" "const char *" "linux_umode_t" "unsigned" */
+#define LINUX_SYS_mknodat 452
+
+/* syscall: "fchownat" ret: "int" args: "int" "const char *" "uid_t" "gid_t" "int" */
+#define LINUX_SYS_fchownat 453
+
+/* syscall: "unlinkat" ret: "int" args: "int" "const char *" "int" */
+#define LINUX_SYS_unlinkat 456
+
+/* syscall: "renameat" ret: "int" args: "int" "const char *" "int" "const char *" */
+#define LINUX_SYS_renameat 457
+
+/* syscall: "linkat" ret: "int" args: "int" "const char *" "int" "const char *" "int" */
+#define LINUX_SYS_linkat 458
+
+/* syscall: "symlinkat" ret: "int" args: "const char *" "int" "const char *" */
+#define LINUX_SYS_symlinkat 459
+
+/* syscall: "readlinkat" ret: "int" args: "int" "const char *" "char *" "size_t" */
+#define LINUX_SYS_readlinkat 460
+
+/* syscall: "fchmodat" ret: "int" args: "int" "const char *" "linux_umode_t" */
+#define LINUX_SYS_fchmodat 461
+
+/* syscall: "faccessat" ret: "int" args: "int" "const char *" "int" */
+#define LINUX_SYS_faccessat 462
+
/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "int" "struct linux_timespec *" "linux_sigset_t *" */
#define LINUX_SYS_ppoll 464
diff -r 49f7352f5485 -r 0a4f3f0a9292 sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h Tue Nov 19 03:52:07 2013 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h Tue Nov 19 03:53:09 2013 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.84 2013/09/24 13:28:50 njoly Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.85 2013/11/19 03:53:09 chs Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.79 2013/09/24 13:27:49 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.80 2013/11/19 03:52:07 chs Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -982,6 +982,69 @@
};
check_syscall_args(linux_sys_tgkill)
+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_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;
@@ -1450,6 +1513,28 @@
int linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_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_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 49f7352f5485 -r 0a4f3f0a9292 sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c Tue Nov 19 03:52:07 2013 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c Tue Nov 19 03:53:09 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.86 2013/09/24 13:28:50 njoly Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.87 2013/11/19 03:53:09 chs Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.79 2013/09/24 13:27:49 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.80 2013/11/19 03:52:07 chs Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.86 2013/09/24 13:28:50 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.87 2013/11/19 03:53:09 chs Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -506,19 +506,19 @@
/* 447 */ "#447 (unimplemented fdatasync)",
/* 448 */ "#448 (unimplemented kexec_load)",
/* 449 */ "#449 (unimplemented migrate_pages)",
- /* 450 */ "#450 (unimplemented openat)",
- /* 451 */ "#451 (unimplemented mkdirat)",
- /* 452 */ "#452 (unimplemented mknodat)",
- /* 453 */ "#453 (unimplemented fchownat)",
+ /* 450 */ "openat",
+ /* 451 */ "mkdirat",
+ /* 452 */ "mknodat",
+ /* 453 */ "fchownat",
/* 454 */ "#454 (unimplemented futimesat)",
- /* 455 */ "#455 (unimplemented fstatat64)",
- /* 456 */ "#456 (unimplemented unlinkat)",
- /* 457 */ "#457 (unimplemented renameat)",
- /* 458 */ "#458 (unimplemented linkat)",
- /* 459 */ "#459 (unimplemented symlinkat)",
- /* 460 */ "#460 (unimplemented readlinkat)",
- /* 461 */ "#461 (unimplemented fchmodat)",
- /* 462 */ "#462 (unimplemented faccessat)",
+ /* 455 */ "#455 (unimplemented { int | linux_sys | | fstatat64 ( int fd , const char * path , struct linux_stat64 * sp , int flag ) ; })",
+ /* 456 */ "unlinkat",
+ /* 457 */ "renameat",
+ /* 458 */ "linkat",
+ /* 459 */ "symlinkat",
+ /* 460 */ "readlinkat",
+ /* 461 */ "fchmodat",
+ /* 462 */ "faccessat",
/* 463 */ "#463 (unimplemented pselect6)",
/* 464 */ "ppoll",
/* 465 */ "#465 (unimplemented unshare)",
diff -r 49f7352f5485 -r 0a4f3f0a9292 sys/compat/linux/arch/alpha/linux_sysent.c
--- a/sys/compat/linux/arch/alpha/linux_sysent.c Tue Nov 19 03:52:07 2013 +0000
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c Tue Nov 19 03:53:09 2013 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.85 2013/09/24 13:28:50 njoly Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.86 2013/11/19 03:53:09 chs Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.79 2013/09/24 13:27:49 njoly Exp
+ * created from NetBSD: syscalls.master,v 1.80 2013/11/19 03:52:07 chs Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.85 2013/09/24 13:28:50 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.86 2013/11/19 03:53:09 chs Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@@ -970,32 +970,32 @@
linux_sys_nosys }, /* 448 = unimplemented kexec_load */
{ 0, 0, 0,
linux_sys_nosys }, /* 449 = unimplemented migrate_pages */
- { 0, 0, 0,
- linux_sys_nosys }, /* 450 = unimplemented openat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 451 = unimplemented mkdirat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 452 = unimplemented mknodat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 453 = unimplemented fchownat */
+ { ns(struct linux_sys_openat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_openat }, /* 450 = openat */
+ { ns(struct sys_mkdirat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)sys_mkdirat }, /* 451 = mkdirat */
+ { ns(struct linux_sys_mknodat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_mknodat }, /* 452 = mknodat */
+ { ns(struct linux_sys_fchownat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_fchownat }, /* 453 = fchownat */
{ 0, 0, 0,
linux_sys_nosys }, /* 454 = unimplemented futimesat */
{ 0, 0, 0,
- linux_sys_nosys }, /* 455 = unimplemented fstatat64 */
- { 0, 0, 0,
- linux_sys_nosys }, /* 456 = unimplemented unlinkat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 457 = unimplemented renameat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 458 = unimplemented linkat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 459 = unimplemented symlinkat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 460 = unimplemented readlinkat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 461 = unimplemented fchmodat */
- { 0, 0, 0,
- linux_sys_nosys }, /* 462 = unimplemented faccessat */
+ linux_sys_nosys }, /* 455 = unimplemented { int | linux_sys | | fstatat64 ( int fd , const char * path , struct linux_stat64 * sp , int flag ) ; } */
+ { ns(struct linux_sys_unlinkat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_unlinkat }, /* 456 = unlinkat */
+ { ns(struct sys_renameat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)sys_renameat }, /* 457 = renameat */
+ { ns(struct linux_sys_linkat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_linkat }, /* 458 = linkat */
+ { ns(struct sys_symlinkat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)sys_symlinkat }, /* 459 = symlinkat */
+ { ns(struct sys_readlinkat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)sys_readlinkat }, /* 460 = readlinkat */
+ { ns(struct linux_sys_fchmodat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_fchmodat }, /* 461 = fchmodat */
+ { ns(struct linux_sys_faccessat_args), SYCALL_ARG_PTR,
+ (sy_call_t *)linux_sys_faccessat }, /* 462 = faccessat */
{ 0, 0, 0,
linux_sys_nosys }, /* 463 = unimplemented pselect6 */
Home |
Main Index |
Thread Index |
Old Index