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/m68k regen
details: https://anonhg.NetBSD.org/src/rev/1ffdd4141cf4
branches: trunk
changeset: 821380:1ffdd4141cf4
user: martin <martin%NetBSD.org@localhost>
date: Fri Feb 03 07:54:39 2017 +0000
description:
regen
diffstat:
sys/compat/linux/arch/m68k/linux_syscall.h | 9 +-
sys/compat/linux/arch/m68k/linux_syscallargs.h | 14 ++-
sys/compat/linux/arch/m68k/linux_syscalls.c | 106 ++++++++++++------------
sys/compat/linux/arch/m68k/linux_sysent.c | 12 +-
4 files changed, 78 insertions(+), 63 deletions(-)
diffs (234 lines):
diff -r b7a513c8261b -r 1ffdd4141cf4 sys/compat/linux/arch/m68k/linux_syscall.h
--- a/sys/compat/linux/arch/m68k/linux_syscall.h Fri Feb 03 07:54:26 2017 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscall.h Fri Feb 03 07:54:39 2017 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.102 2017/01/16 00:11:09 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.103 2017/02/03 07:54:39 martin Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.91 2017/01/02 16:32:09 manu Exp
+ * created from NetBSD: syscalls.master,v 1.92 2017/02/03 07:54:26 martin Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -720,6 +720,9 @@
/* syscall: "pipe2" ret: "int" args: "int *" "int" */
#define LINUX_SYS_pipe2 327
-#define LINUX_SYS_MAXSYSCALL 337
+/* syscall: "accept4" ret: "int" args: "int" "struct osockaddr *" "int *" "int" */
+#define LINUX_SYS_accept4 361
+
+#define LINUX_SYS_MAXSYSCALL 362
#define LINUX_SYS_NSYSENT 512
#endif /* _LINUX_SYS_SYSCALL_H_ */
diff -r b7a513c8261b -r 1ffdd4141cf4 sys/compat/linux/arch/m68k/linux_syscallargs.h
--- a/sys/compat/linux/arch/m68k/linux_syscallargs.h Fri Feb 03 07:54:26 2017 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h Fri Feb 03 07:54:39 2017 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.101 2017/01/16 00:11:09 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.102 2017/02/03 07:54:39 martin Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.91 2017/01/02 16:32:09 manu Exp
+ * created from NetBSD: syscalls.master,v 1.92 2017/02/03 07:54:26 martin Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1099,6 +1099,14 @@
};
check_syscall_args(linux_sys_pipe2)
+struct linux_sys_accept4_args {
+ syscallarg(int) s;
+ syscallarg(struct osockaddr *) name;
+ syscallarg(int *) anamelen;
+ syscallarg(int) flags;
+};
+check_syscall_args(linux_sys_accept4)
+
/*
* System call prototypes.
*/
@@ -1557,4 +1565,6 @@
int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *);
+int linux_sys_accept4(struct lwp *, const struct linux_sys_accept4_args *, register_t *);
+
#endif /* _LINUX_SYS_SYSCALLARGS_H_ */
diff -r b7a513c8261b -r 1ffdd4141cf4 sys/compat/linux/arch/m68k/linux_syscalls.c
--- a/sys/compat/linux/arch/m68k/linux_syscalls.c Fri Feb 03 07:54:26 2017 +0000
+++ b/sys/compat/linux/arch/m68k/linux_syscalls.c Fri Feb 03 07:54:39 2017 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.102 2017/01/16 00:11:09 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.103 2017/02/03 07:54:39 martin Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.91 2017/01/02 16:32:09 manu Exp
+ * created from NetBSD: syscalls.master,v 1.92 2017/02/03 07:54:26 martin Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.102 2017/01/16 00:11:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.103 2017/02/03 07:54:39 martin Exp $");
#if defined(_KERNEL_OPT)
#if defined(_KERNEL_OPT)
@@ -391,31 +391,31 @@
/* 334 */ "#334 (unimplemented get_thread_area)",
/* 335 */ "#335 (unimplemented atomic_cmpxchg_32)",
/* 336 */ "#336 (unimplemented atomic_barrier)",
- /* 337 */ "# filler",
- /* 338 */ "# filler",
- /* 339 */ "# filler",
- /* 340 */ "# filler",
- /* 341 */ "# filler",
- /* 342 */ "# filler",
- /* 343 */ "# filler",
- /* 344 */ "# filler",
- /* 345 */ "# filler",
- /* 346 */ "# filler",
- /* 347 */ "# filler",
- /* 348 */ "# filler",
- /* 349 */ "# filler",
- /* 350 */ "# filler",
- /* 351 */ "# filler",
- /* 352 */ "# filler",
- /* 353 */ "# filler",
- /* 354 */ "# filler",
- /* 355 */ "# filler",
- /* 356 */ "# filler",
- /* 357 */ "# filler",
- /* 358 */ "# filler",
- /* 359 */ "# filler",
- /* 360 */ "# filler",
- /* 361 */ "# filler",
+ /* 337 */ "#337 (unimplemented)",
+ /* 338 */ "#338 (unimplemented)",
+ /* 339 */ "#339 (unimplemented)",
+ /* 340 */ "#340 (unimplemented)",
+ /* 341 */ "#341 (unimplemented)",
+ /* 342 */ "#342 (unimplemented)",
+ /* 343 */ "#343 (unimplemented)",
+ /* 344 */ "#344 (unimplemented)",
+ /* 345 */ "#345 (unimplemented)",
+ /* 346 */ "#346 (unimplemented)",
+ /* 347 */ "#347 (unimplemented)",
+ /* 348 */ "#348 (unimplemented)",
+ /* 349 */ "#349 (unimplemented)",
+ /* 350 */ "#350 (unimplemented)",
+ /* 351 */ "#351 (unimplemented)",
+ /* 352 */ "#352 (unimplemented)",
+ /* 353 */ "#353 (unimplemented)",
+ /* 354 */ "#354 (unimplemented)",
+ /* 355 */ "#355 (unimplemented)",
+ /* 356 */ "#356 (unimplemented)",
+ /* 357 */ "#357 (unimplemented)",
+ /* 358 */ "#358 (unimplemented)",
+ /* 359 */ "#359 (unimplemented)",
+ /* 360 */ "#360 (unimplemented)",
+ /* 361 */ "accept4",
/* 362 */ "# filler",
/* 363 */ "# filler",
/* 364 */ "# filler",
@@ -929,31 +929,31 @@
/* 334 */ NULL, /* unimplemented get_thread_area */
/* 335 */ NULL, /* unimplemented atomic_cmpxchg_32 */
/* 336 */ NULL, /* unimplemented atomic_barrier */
- /* 337 */ NULL, /* filler */
- /* 338 */ NULL, /* filler */
- /* 339 */ NULL, /* filler */
- /* 340 */ NULL, /* filler */
- /* 341 */ NULL, /* filler */
- /* 342 */ NULL, /* filler */
- /* 343 */ NULL, /* filler */
- /* 344 */ NULL, /* filler */
- /* 345 */ NULL, /* filler */
- /* 346 */ NULL, /* filler */
- /* 347 */ NULL, /* filler */
- /* 348 */ NULL, /* filler */
- /* 349 */ NULL, /* filler */
- /* 350 */ NULL, /* filler */
- /* 351 */ NULL, /* filler */
- /* 352 */ NULL, /* filler */
- /* 353 */ NULL, /* filler */
- /* 354 */ NULL, /* filler */
- /* 355 */ NULL, /* filler */
- /* 356 */ NULL, /* filler */
- /* 357 */ NULL, /* filler */
- /* 358 */ NULL, /* filler */
- /* 359 */ NULL, /* filler */
- /* 360 */ NULL, /* filler */
- /* 361 */ NULL, /* filler */
+ /* 337 */ NULL, /* unimplemented */
+ /* 338 */ NULL, /* unimplemented */
+ /* 339 */ NULL, /* unimplemented */
+ /* 340 */ NULL, /* unimplemented */
+ /* 341 */ NULL, /* unimplemented */
+ /* 342 */ NULL, /* unimplemented */
+ /* 343 */ NULL, /* unimplemented */
+ /* 344 */ NULL, /* unimplemented */
+ /* 345 */ NULL, /* unimplemented */
+ /* 346 */ NULL, /* unimplemented */
+ /* 347 */ NULL, /* unimplemented */
+ /* 348 */ NULL, /* unimplemented */
+ /* 349 */ NULL, /* unimplemented */
+ /* 350 */ NULL, /* unimplemented */
+ /* 351 */ NULL, /* unimplemented */
+ /* 352 */ NULL, /* unimplemented */
+ /* 353 */ NULL, /* unimplemented */
+ /* 354 */ NULL, /* unimplemented */
+ /* 355 */ NULL, /* unimplemented */
+ /* 356 */ NULL, /* unimplemented */
+ /* 357 */ NULL, /* unimplemented */
+ /* 358 */ NULL, /* unimplemented */
+ /* 359 */ NULL, /* unimplemented */
+ /* 360 */ NULL, /* unimplemented */
+ /* 361 */ NULL, /* accept4 */
/* 362 */ NULL, /* filler */
/* 363 */ NULL, /* filler */
/* 364 */ NULL, /* filler */
diff -r b7a513c8261b -r 1ffdd4141cf4 sys/compat/linux/arch/m68k/linux_sysent.c
--- a/sys/compat/linux/arch/m68k/linux_sysent.c Fri Feb 03 07:54:26 2017 +0000
+++ b/sys/compat/linux/arch/m68k/linux_sysent.c Fri Feb 03 07:54:39 2017 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.102 2017/01/16 00:11:09 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.103 2017/02/03 07:54:39 martin Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.91 2017/01/02 16:32:09 manu Exp
+ * created from NetBSD: syscalls.master,v 1.92 2017/02/03 07:54:26 martin Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.102 2017/01/16 00:11:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.103 2017/02/03 07:54:39 martin Exp $");
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd.h"
@@ -1505,8 +1505,10 @@
.sy_call = linux_sys_nosys,
}, /* 360 = filler */
{
- .sy_call = linux_sys_nosys,
- }, /* 361 = filler */
+ ns(struct linux_sys_accept4_args),
+ .sy_flags = SYCALL_ARG_PTR,
+ .sy_call = (sy_call_t *)linux_sys_accept4
+ }, /* 361 = accept4 */
{
.sy_call = linux_sys_nosys,
}, /* 362 = filler */
Home |
Main Index |
Thread Index |
Old Index