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/83c0702807e8
branches: trunk
changeset: 351131:83c0702807e8
user: martin <martin%NetBSD.org@localhost>
date: Fri Feb 03 07:57:22 2017 +0000
description:
regen
diffstat:
sys/compat/linux/arch/powerpc/linux_syscall.h | 9 +-
sys/compat/linux/arch/powerpc/linux_syscallargs.h | 14 ++-
sys/compat/linux/arch/powerpc/linux_syscalls.c | 94 +++++++++++-----------
sys/compat/linux/arch/powerpc/linux_sysent.c | 12 +-
4 files changed, 72 insertions(+), 57 deletions(-)
diffs (222 lines):
diff -r 6f8e546a48ef -r 83c0702807e8 sys/compat/linux/arch/powerpc/linux_syscall.h
--- a/sys/compat/linux/arch/powerpc/linux_syscall.h Fri Feb 03 07:57:11 2017 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_syscall.h Fri Feb 03 07:57:22 2017 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscall.h,v 1.80 2017/01/16 00:11:09 christos Exp $ */
+/* $NetBSD: linux_syscall.h,v 1.81 2017/02/03 07:57:22 martin Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.70 2017/01/02 16:32:10 manu Exp
+ * created from NetBSD: syscalls.master,v 1.71 2017/02/03 07:57:11 martin Exp
*/
#ifndef _LINUX_SYS_SYSCALL_H_
@@ -657,6 +657,9 @@
/* syscall: "pipe2" ret: "int" args: "int *" "int" */
#define LINUX_SYS_pipe2 317
-#define LINUX_SYS_MAXSYSCALL 323
+/* syscall: "accept4" ret: "int" args: "int" "struct osockaddr *" "int *" "int" */
+#define LINUX_SYS_accept4 344
+
+#define LINUX_SYS_MAXSYSCALL 345
#define LINUX_SYS_NSYSENT 512
#endif /* _LINUX_SYS_SYSCALL_H_ */
diff -r 6f8e546a48ef -r 83c0702807e8 sys/compat/linux/arch/powerpc/linux_syscallargs.h
--- a/sys/compat/linux/arch/powerpc/linux_syscallargs.h Fri Feb 03 07:57:11 2017 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_syscallargs.h Fri Feb 03 07:57:22 2017 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: linux_syscallargs.h,v 1.79 2017/01/16 00:11:09 christos Exp $ */
+/* $NetBSD: linux_syscallargs.h,v 1.80 2017/02/03 07:57:22 martin Exp $ */
/*
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.70 2017/01/02 16:32:10 manu Exp
+ * created from NetBSD: syscalls.master,v 1.71 2017/02/03 07:57:11 martin Exp
*/
#ifndef _LINUX_SYS_SYSCALLARGS_H_
@@ -1024,6 +1024,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.
*/
@@ -1452,4 +1460,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 6f8e546a48ef -r 83c0702807e8 sys/compat/linux/arch/powerpc/linux_syscalls.c
--- a/sys/compat/linux/arch/powerpc/linux_syscalls.c Fri Feb 03 07:57:11 2017 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_syscalls.c Fri Feb 03 07:57:22 2017 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_syscalls.c,v 1.79 2017/01/16 00:11:09 christos Exp $ */
+/* $NetBSD: linux_syscalls.c,v 1.80 2017/02/03 07:57:22 martin Exp $ */
/*
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.70 2017/01/02 16:32:10 manu Exp
+ * created from NetBSD: syscalls.master,v 1.71 2017/02/03 07:57:11 martin Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.79 2017/01/16 00:11:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.80 2017/02/03 07:57:22 martin Exp $");
#if defined(_KERNEL_OPT)
#include <sys/param.h>
@@ -356,28 +356,28 @@
/* 320 */ "#320 (unimplemented preadv)",
/* 321 */ "#321 (unimplemented pwritev)",
/* 322 */ "#322 (unimplemented rt_tgsigqueueinfo)",
- /* 323 */ "# filler",
- /* 324 */ "# filler",
- /* 325 */ "# filler",
- /* 326 */ "# filler",
- /* 327 */ "# filler",
- /* 328 */ "# filler",
- /* 329 */ "# filler",
- /* 330 */ "# filler",
- /* 331 */ "# filler",
- /* 332 */ "# filler",
- /* 333 */ "# filler",
- /* 334 */ "# filler",
- /* 335 */ "# filler",
- /* 336 */ "# filler",
- /* 337 */ "# filler",
- /* 338 */ "# filler",
- /* 339 */ "# filler",
- /* 340 */ "# filler",
- /* 341 */ "# filler",
- /* 342 */ "# filler",
- /* 343 */ "# filler",
- /* 344 */ "# filler",
+ /* 323 */ "#323 (unimplemented)",
+ /* 324 */ "#324 (unimplemented)",
+ /* 325 */ "#325 (unimplemented)",
+ /* 326 */ "#326 (unimplemented)",
+ /* 327 */ "#327 (unimplemented)",
+ /* 328 */ "#328 (unimplemented)",
+ /* 329 */ "#329 (unimplemented)",
+ /* 330 */ "#330 (unimplemented)",
+ /* 331 */ "#331 (unimplemented)",
+ /* 332 */ "#332 (unimplemented)",
+ /* 333 */ "#333 (unimplemented)",
+ /* 334 */ "#334 (unimplemented)",
+ /* 335 */ "#335 (unimplemented)",
+ /* 336 */ "#336 (unimplemented)",
+ /* 337 */ "#337 (unimplemented)",
+ /* 338 */ "#338 (unimplemented)",
+ /* 339 */ "#339 (unimplemented)",
+ /* 340 */ "#340 (unimplemented)",
+ /* 341 */ "#341 (unimplemented)",
+ /* 342 */ "#342 (unimplemented)",
+ /* 343 */ "#343 (unimplemented)",
+ /* 344 */ "accept4",
/* 345 */ "# filler",
/* 346 */ "# filler",
/* 347 */ "# filler",
@@ -878,28 +878,28 @@
/* 320 */ NULL, /* unimplemented preadv */
/* 321 */ NULL, /* unimplemented pwritev */
/* 322 */ NULL, /* unimplemented rt_tgsigqueueinfo */
- /* 323 */ NULL, /* filler */
- /* 324 */ NULL, /* filler */
- /* 325 */ NULL, /* filler */
- /* 326 */ NULL, /* filler */
- /* 327 */ NULL, /* filler */
- /* 328 */ NULL, /* filler */
- /* 329 */ NULL, /* filler */
- /* 330 */ NULL, /* filler */
- /* 331 */ NULL, /* filler */
- /* 332 */ NULL, /* filler */
- /* 333 */ NULL, /* filler */
- /* 334 */ NULL, /* filler */
- /* 335 */ NULL, /* filler */
- /* 336 */ NULL, /* filler */
- /* 337 */ NULL, /* filler */
- /* 338 */ NULL, /* filler */
- /* 339 */ NULL, /* filler */
- /* 340 */ NULL, /* filler */
- /* 341 */ NULL, /* filler */
- /* 342 */ NULL, /* filler */
- /* 343 */ NULL, /* filler */
- /* 344 */ NULL, /* filler */
+ /* 323 */ NULL, /* unimplemented */
+ /* 324 */ NULL, /* unimplemented */
+ /* 325 */ NULL, /* unimplemented */
+ /* 326 */ NULL, /* unimplemented */
+ /* 327 */ NULL, /* unimplemented */
+ /* 328 */ NULL, /* unimplemented */
+ /* 329 */ NULL, /* unimplemented */
+ /* 330 */ NULL, /* unimplemented */
+ /* 331 */ NULL, /* unimplemented */
+ /* 332 */ NULL, /* unimplemented */
+ /* 333 */ NULL, /* unimplemented */
+ /* 334 */ NULL, /* unimplemented */
+ /* 335 */ NULL, /* unimplemented */
+ /* 336 */ NULL, /* unimplemented */
+ /* 337 */ NULL, /* unimplemented */
+ /* 338 */ NULL, /* unimplemented */
+ /* 339 */ NULL, /* unimplemented */
+ /* 340 */ NULL, /* unimplemented */
+ /* 341 */ NULL, /* unimplemented */
+ /* 342 */ NULL, /* unimplemented */
+ /* 343 */ NULL, /* unimplemented */
+ /* 344 */ NULL, /* accept4 */
/* 345 */ NULL, /* filler */
/* 346 */ NULL, /* filler */
/* 347 */ NULL, /* filler */
diff -r 6f8e546a48ef -r 83c0702807e8 sys/compat/linux/arch/powerpc/linux_sysent.c
--- a/sys/compat/linux/arch/powerpc/linux_sysent.c Fri Feb 03 07:57:11 2017 +0000
+++ b/sys/compat/linux/arch/powerpc/linux_sysent.c Fri Feb 03 07:57:22 2017 +0000
@@ -1,14 +1,14 @@
-/* $NetBSD: linux_sysent.c,v 1.80 2017/01/16 00:11:09 christos Exp $ */
+/* $NetBSD: linux_sysent.c,v 1.81 2017/02/03 07:57:22 martin Exp $ */
/*
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
- * created from NetBSD: syscalls.master,v 1.70 2017/01/02 16:32:10 manu Exp
+ * created from NetBSD: syscalls.master,v 1.71 2017/02/03 07:57:11 martin Exp
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.80 2017/01/16 00:11:09 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.81 2017/02/03 07:57:22 martin Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@@ -1411,8 +1411,10 @@
.sy_call = linux_sys_nosys,
}, /* 343 = filler */
{
- .sy_call = linux_sys_nosys,
- }, /* 344 = filler */
+ ns(struct linux_sys_accept4_args),
+ .sy_flags = SYCALL_ARG_PTR,
+ .sy_call = (sy_call_t *)linux_sys_accept4
+ }, /* 344 = accept4 */
{
.sy_call = linux_sys_nosys,
}, /* 345 = filler */
Home |
Main Index |
Thread Index |
Old Index