Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 Regen for native futex calls.
details: https://anonhg.NetBSD.org/src/rev/39959a4dcc09
branches: trunk
changeset: 1009561:39959a4dcc09
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sun Apr 26 19:18:52 2020 +0000
description:
Regen for native futex calls.
diffstat:
sys/compat/linux/arch/alpha/linux_syscall.h | 12 +-
sys/compat/linux/arch/alpha/linux_syscallargs.h | 21 +--
sys/compat/linux/arch/alpha/linux_syscalls.c | 14 +-
sys/compat/linux/arch/alpha/linux_sysent.c | 20 +-
sys/compat/linux/arch/amd64/linux_syscall.h | 12 +-
sys/compat/linux/arch/amd64/linux_syscallargs.h | 21 +--
sys/compat/linux/arch/amd64/linux_syscalls.c | 14 +-
sys/compat/linux/arch/amd64/linux_sysent.c | 20 +-
sys/compat/linux/arch/amd64/linux_systrace_args.c | 32 ++--
sys/compat/linux/arch/arm/linux_syscall.h | 12 +-
sys/compat/linux/arch/arm/linux_syscallargs.h | 21 +--
sys/compat/linux/arch/arm/linux_syscalls.c | 14 +-
sys/compat/linux/arch/arm/linux_sysent.c | 20 +-
sys/compat/linux/arch/arm/linux_systrace_args.c | 36 +++---
sys/compat/linux/arch/i386/linux_syscall.h | 12 +-
sys/compat/linux/arch/i386/linux_syscallargs.h | 21 +--
sys/compat/linux/arch/i386/linux_syscalls.c | 14 +-
sys/compat/linux/arch/i386/linux_sysent.c | 20 +-
sys/compat/linux/arch/i386/linux_systrace_args.c | 36 +++---
sys/compat/linux/arch/m68k/linux_syscall.h | 12 +-
sys/compat/linux/arch/m68k/linux_syscallargs.h | 21 +--
sys/compat/linux/arch/m68k/linux_syscalls.c | 14 +-
sys/compat/linux/arch/m68k/linux_sysent.c | 20 +-
sys/compat/linux/arch/mips/linux_syscall.h | 12 +-
sys/compat/linux/arch/mips/linux_syscallargs.h | 21 +--
sys/compat/linux/arch/mips/linux_syscalls.c | 14 +-
sys/compat/linux/arch/mips/linux_sysent.c | 20 +-
sys/compat/linux/arch/powerpc/linux_syscall.h | 12 +-
sys/compat/linux/arch/powerpc/linux_syscallargs.h | 21 +--
sys/compat/linux/arch/powerpc/linux_syscalls.c | 14 +-
sys/compat/linux/arch/powerpc/linux_sysent.c | 18 +-
sys/compat/linux32/arch/amd64/linux32_syscall.h | 12 +-
sys/compat/linux32/arch/amd64/linux32_syscallargs.h | 21 +--
sys/compat/linux32/arch/amd64/linux32_syscalls.c | 14 +-
sys/compat/linux32/arch/amd64/linux32_sysent.c | 18 +-
sys/compat/linux32/arch/amd64/linux32_systrace_args.c | 48 ++++----
sys/compat/netbsd32/netbsd32_syscall.h | 13 +-
sys/compat/netbsd32/netbsd32_syscallargs.h | 34 +++++-
sys/compat/netbsd32/netbsd32_syscalls.c | 18 +-
sys/compat/netbsd32/netbsd32_syscalls_autoload.c | 6 +-
sys/compat/netbsd32/netbsd32_sysent.c | 25 ++-
sys/compat/netbsd32/netbsd32_systrace_args.c | 104 +++++++++++++++++-
42 files changed, 478 insertions(+), 406 deletions(-)
diffs (truncated from 2035 to 300 lines):
diff -r f0677fb6bf13 -r 39959a4dcc09 sys/compat/linux/arch/alpha/linux_syscall.h
--- a/sys/compat/linux/arch/alpha/linux_syscall.h Sun Apr 26 19:18:36 2020 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscall.h Sun Apr 26 19:18:52 2020 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.109 2019/11/09 23:45:07 jdolecek Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.110 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.96 2019/11/09 23:44:31 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.97 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -690,11 +690,11 @@
/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "struct linux_timespec *" "linux_sigset_t *" */
#define LINUX_SYS_ppoll 464
-/* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
-#define LINUX_SYS_set_robust_list 466
+/* syscall: "__futex_set_robust_list" ret: "int" args: "void *" "size_t" */
+#define LINUX_SYS___futex_set_robust_list 466
-/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
-#define LINUX_SYS_get_robust_list 467
+/* syscall: "__futex_get_robust_list" ret: "int" args: "lwpid_t" "void **" "size_t *" */
+#define LINUX_SYS___futex_get_robust_list 467
/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
#define LINUX_SYS_utimensat 475
diff -r f0677fb6bf13 -r 39959a4dcc09 sys/compat/linux/arch/alpha/linux_syscallargs.h
--- a/sys/compat/linux/arch/alpha/linux_syscallargs.h Sun Apr 26 19:18:36 2020 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscallargs.h Sun Apr 26 19:18:52 2020 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.108 2019/11/09 23:45:07 jdolecek Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.109 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.96 2019/11/09 23:44:31 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.97 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1096,18 +1096,9 @@
};
check_syscall_args(linux_sys_ppoll)
-struct linux_sys_set_robust_list_args {
- syscallarg(struct linux_robust_list_head *) head;
- syscallarg(size_t) len;
-};
-check_syscall_args(linux_sys_set_robust_list)
+struct sys___futex_set_robust_list_args;
-struct linux_sys_get_robust_list_args {
- syscallarg(int) pid;
- syscallarg(struct linux_robust_list_head **) head;
- syscallarg(size_t *) len;
-};
-check_syscall_args(linux_sys_get_robust_list)
+struct sys___futex_get_robust_list_args;
struct linux_sys_utimensat_args {
syscallarg(int) fd;
@@ -1623,9 +1614,9 @@
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 *);
+int sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *);
-int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
+int sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *);
int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
diff -r f0677fb6bf13 -r 39959a4dcc09 sys/compat/linux/arch/alpha/linux_syscalls.c
--- a/sys/compat/linux/arch/alpha/linux_syscalls.c Sun Apr 26 19:18:36 2020 +0000
+++ b/sys/compat/linux/arch/alpha/linux_syscalls.c Sun Apr 26 19:18:52 2020 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.110 2019/11/09 23:45:07 jdolecek Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.111 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.96 2019/11/09 23:44:31 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.97 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.110 2019/11/09 23:45:07 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.111 2020/04/26 19:20:18 thorpej Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -525,8 +525,8 @@
/* 463 */ "pselect6",
/* 464 */ "ppoll",
/* 465 */ "#465 (unimplemented unshare)",
- /* 466 */ "set_robust_list",
- /* 467 */ "get_robust_list",
+ /* 466 */ "__futex_set_robust_list",
+ /* 467 */ "__futex_get_robust_list",
/* 468 */ "#468 (unimplemented splice)",
/* 469 */ "#469 (unimplemented sync_file_range)",
/* 470 */ "#470 (unimplemented tee)",
@@ -1066,8 +1066,8 @@
/* 463 */ NULL, /* pselect6 */
/* 464 */ NULL, /* ppoll */
/* 465 */ NULL, /* unimplemented unshare */
- /* 466 */ NULL, /* set_robust_list */
- /* 467 */ NULL, /* get_robust_list */
+ /* 466 */ NULL, /* __futex_set_robust_list */
+ /* 467 */ NULL, /* __futex_get_robust_list */
/* 468 */ NULL, /* unimplemented splice */
/* 469 */ NULL, /* unimplemented sync_file_range */
/* 470 */ NULL, /* unimplemented tee */
diff -r f0677fb6bf13 -r 39959a4dcc09 sys/compat/linux/arch/alpha/linux_sysent.c
--- a/sys/compat/linux/arch/alpha/linux_sysent.c Sun Apr 26 19:18:36 2020 +0000
+++ b/sys/compat/linux/arch/alpha/linux_sysent.c Sun Apr 26 19:18:52 2020 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.109 2019/11/09 23:45:07 jdolecek Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.110 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.96 2019/11/09 23:44:31 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.97 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.109 2019/11/09 23:45:07 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.110 2020/04/26 19:20:18 thorpej Exp $");
#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
@@ -1854,15 +1854,15 @@
.sy_call = linux_sys_nosys,
}, /* 465 = filler */
{
- ns(struct linux_sys_set_robust_list_args),
+ ns(struct sys___futex_set_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
- .sy_call = (sy_call_t *)linux_sys_set_robust_list
- }, /* 466 = set_robust_list */
- {
- ns(struct linux_sys_get_robust_list_args),
+ .sy_call = (sy_call_t *)sys___futex_set_robust_list
+ }, /* 466 = __futex_set_robust_list */
+ {
+ ns(struct sys___futex_get_robust_list_args),
.sy_flags = SYCALL_ARG_PTR,
- .sy_call = (sy_call_t *)linux_sys_get_robust_list
- }, /* 467 = get_robust_list */
+ .sy_call = (sy_call_t *)sys___futex_get_robust_list
+ }, /* 467 = __futex_get_robust_list */
{
.sy_call = linux_sys_nosys,
}, /* 468 = filler */
diff -r f0677fb6bf13 -r 39959a4dcc09 sys/compat/linux/arch/amd64/linux_syscall.h
--- a/sys/compat/linux/arch/amd64/linux_syscall.h Sun Apr 26 19:18:36 2020 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscall.h Sun Apr 26 19:18:52 2020 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.70 2019/11/09 23:45:07 jdolecek Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.71 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.61 2019/11/09 23:44:31 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.62 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -636,11 +636,11 @@
/* syscall: "ppoll" ret: "int" args: "struct pollfd *" "u_int" "struct linux_timespec *" "linux_sigset_t *" */
#define LINUX_SYS_ppoll 271
-/* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
-#define LINUX_SYS_set_robust_list 273
+/* syscall: "__futex_set_robust_list" ret: "int" args: "void *" "size_t" */
+#define LINUX_SYS___futex_set_robust_list 273
-/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
-#define LINUX_SYS_get_robust_list 274
+/* syscall: "__futex_get_robust_list" ret: "int" args: "lwpid_t" "void **" "size_t *" */
+#define LINUX_SYS___futex_get_robust_list 274
/* syscall: "utimensat" ret: "int" args: "int" "const char *" "struct linux_timespec *" "int" */
#define LINUX_SYS_utimensat 280
diff -r f0677fb6bf13 -r 39959a4dcc09 sys/compat/linux/arch/amd64/linux_syscallargs.h
--- a/sys/compat/linux/arch/amd64/linux_syscallargs.h Sun Apr 26 19:18:36 2020 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscallargs.h Sun Apr 26 19:18:52 2020 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.70 2019/11/09 23:45:07 jdolecek Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.71 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.61 2019/11/09 23:44:31 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.62 2020/04/26 18:53:32 thorpej Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -986,18 +986,9 @@
};
check_syscall_args(linux_sys_ppoll)
-struct linux_sys_set_robust_list_args {
- syscallarg(struct linux_robust_list_head *) head;
- syscallarg(size_t) len;
-};
-check_syscall_args(linux_sys_set_robust_list)
+struct sys___futex_set_robust_list_args;
-struct linux_sys_get_robust_list_args {
- syscallarg(int) pid;
- syscallarg(struct linux_robust_list_head **) head;
- syscallarg(size_t *) len;
-};
-check_syscall_args(linux_sys_get_robust_list)
+struct sys___futex_get_robust_list_args;
struct linux_sys_utimensat_args {
syscallarg(int) fd;
@@ -1478,9 +1469,9 @@
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 *);
+int sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *);
-int linux_sys_get_robust_list(struct lwp *, const struct linux_sys_get_robust_list_args *, register_t *);
+int sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *);
int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *);
diff -r f0677fb6bf13 -r 39959a4dcc09 sys/compat/linux/arch/amd64/linux_syscalls.c
--- a/sys/compat/linux/arch/amd64/linux_syscalls.c Sun Apr 26 19:18:36 2020 +0000
+++ b/sys/compat/linux/arch/amd64/linux_syscalls.c Sun Apr 26 19:18:52 2020 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.70 2019/11/09 23:45:07 jdolecek Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.71 2020/04/26 19:20:18 thorpej Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.61 2019/11/09 23:44:31 jdolecek Exp
+ * created from NetBSD: syscalls.master,v 1.62 2020/04/26 18:53:32 thorpej Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.70 2019/11/09 23:45:07 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.71 2020/04/26 19:20:18 thorpej Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -339,8 +339,8 @@
/* 270 */ "pselect6",
/* 271 */ "ppoll",
/* 272 */ "#272 (unimplemented unshare)",
- /* 273 */ "set_robust_list",
- /* 274 */ "get_robust_list",
+ /* 273 */ "__futex_set_robust_list",
+ /* 274 */ "__futex_get_robust_list",
/* 275 */ "#275 (unimplemented splice)",
/* 276 */ "#276 (unimplemented tee)",
/* 277 */ "#277 (unimplemented sync_file_range)",
@@ -883,8 +883,8 @@
/* 270 */ NULL, /* pselect6 */
/* 271 */ NULL, /* ppoll */
/* 272 */ NULL, /* unimplemented unshare */
- /* 273 */ NULL, /* set_robust_list */
- /* 274 */ NULL, /* get_robust_list */
+ /* 273 */ NULL, /* __futex_set_robust_list */
+ /* 274 */ NULL, /* __futex_get_robust_list */
/* 275 */ NULL, /* unimplemented splice */
/* 276 */ NULL, /* unimplemented tee */
/* 277 */ NULL, /* unimplemented sync_file_range */
diff -r f0677fb6bf13 -r 39959a4dcc09 sys/compat/linux/arch/amd64/linux_sysent.c
--- a/sys/compat/linux/arch/amd64/linux_sysent.c Sun Apr 26 19:18:36 2020 +0000
+++ b/sys/compat/linux/arch/amd64/linux_sysent.c Sun Apr 26 19:18:52 2020 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.70 2019/11/09 23:45:07 jdolecek Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.71 2020/04/26 19:20:18 thorpej Exp $ */
/*
Home |
Main Index |
Thread Index |
Old Index