diff options
| author | martin <martin@NetBSD.org> | 2017-02-03 07:54:39 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2017-02-03 07:54:39 +0000 |
| commit | fc1d9bcaa4f27c3ee2185ce8a28c43399cfbae87 (patch) | |
| tree | c961f33ac4a9091f0793b51ef8a4b5b805bf930d /sys/compat/linux/arch | |
| parent | a8cf914e8b523551565858d80fa449808dae4f83 (diff) | |
regen
Diffstat (limited to 'sys/compat/linux/arch')
| -rw-r--r-- | sys/compat/linux/arch/m68k/linux_syscall.h | 9 | ||||
| -rw-r--r-- | sys/compat/linux/arch/m68k/linux_syscallargs.h | 14 | ||||
| -rw-r--r-- | sys/compat/linux/arch/m68k/linux_syscalls.c | 106 | ||||
| -rw-r--r-- | sys/compat/linux/arch/m68k/linux_sysent.c | 12 |
4 files changed, 78 insertions, 63 deletions
diff --git a/sys/compat/linux/arch/m68k/linux_syscall.h b/sys/compat/linux/arch/m68k/linux_syscall.h index 3c118233c04..41cb8b9279f 100644 --- a/sys/compat/linux/arch/m68k/linux_syscall.h +++ b/sys/compat/linux/arch/m68k/linux_syscall.h @@ -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 --git a/sys/compat/linux/arch/m68k/linux_syscallargs.h b/sys/compat/linux/arch/m68k/linux_syscallargs.h index 97e9cbd665f..984d2f556f3 100644 --- a/sys/compat/linux/arch/m68k/linux_syscallargs.h +++ b/sys/compat/linux/arch/m68k/linux_syscallargs.h @@ -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 @@ struct linux_sys_pipe2_args { }; 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_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t 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 --git a/sys/compat/linux/arch/m68k/linux_syscalls.c b/sys/compat/linux/arch/m68k/linux_syscalls.c index 8549a49dd99..225d627c54a 100644 --- a/sys/compat/linux/arch/m68k/linux_syscalls.c +++ b/sys/compat/linux/arch/m68k/linux_syscalls.c @@ -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 @@ const char *const linux_syscallnames[] = { /* 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 @@ const char *const altlinux_syscallnames[] = { /* 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 --git a/sys/compat/linux/arch/m68k/linux_sysent.c b/sys/compat/linux/arch/m68k/linux_sysent.c index 9efbe50a938..96b071da04c 100644 --- a/sys/compat/linux/arch/m68k/linux_sysent.c +++ b/sys/compat/linux/arch/m68k/linux_sysent.c @@ -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 @@ struct sysent linux_sysent[] = { .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 */ |
