This commit is contained in:
christos 2017-02-09 22:02:13 +00:00
parent 0f3fea8105
commit c1fee05263
4 changed files with 14 additions and 18 deletions

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscall.h,v 1.75 2017/02/09 03:24:05 christos Exp $ */ /* $NetBSD: linux_syscall.h,v 1.76 2017/02/09 22:02:13 christos Exp $ */
/* /*
* System call numbers. * System call numbers.
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.65 2017/02/09 03:23:59 christos Exp * created from NetBSD: syscalls.master,v 1.66 2017/02/09 22:02:05 christos Exp
*/ */
#ifndef _LINUX_SYS_SYSCALL_H_ #ifndef _LINUX_SYS_SYSCALL_H_

View File

@ -1,10 +1,10 @@
/* $NetBSD: linux_syscallargs.h,v 1.74 2017/02/09 03:24:05 christos Exp $ */ /* $NetBSD: linux_syscallargs.h,v 1.75 2017/02/09 22:02:13 christos Exp $ */
/* /*
* System call argument lists. * System call argument lists.
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.65 2017/02/09 03:23:59 christos Exp * created from NetBSD: syscalls.master,v 1.66 2017/02/09 22:02:05 christos Exp
*/ */
#ifndef _LINUX_SYS_SYSCALLARGS_H_ #ifndef _LINUX_SYS_SYSCALLARGS_H_
@ -593,11 +593,7 @@ struct linux_sys_getsockopt_args {
}; };
check_syscall_args(linux_sys_getsockopt) check_syscall_args(linux_sys_getsockopt)
struct linux_sys_listen_args { struct sys_listen_args;
syscallarg(int) s;
syscallarg(int) backlog;
};
check_syscall_args(linux_sys_listen)
struct linux_sys_recv_args { struct linux_sys_recv_args {
syscallarg(int) s; syscallarg(int) s;
@ -1448,7 +1444,7 @@ int linux_sys_getsockname(struct lwp *, const struct linux_sys_getsockname_args
int linux_sys_getsockopt(struct lwp *, const struct linux_sys_getsockopt_args *, register_t *); int linux_sys_getsockopt(struct lwp *, const struct linux_sys_getsockopt_args *, register_t *);
int linux_sys_listen(struct lwp *, const struct linux_sys_listen_args *, register_t *); int sys_listen(struct lwp *, const struct sys_listen_args *, register_t *);
int linux_sys_recv(struct lwp *, const struct linux_sys_recv_args *, register_t *); int linux_sys_recv(struct lwp *, const struct linux_sys_recv_args *, register_t *);

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_syscalls.c,v 1.74 2017/02/09 03:24:05 christos Exp $ */ /* $NetBSD: linux_syscalls.c,v 1.75 2017/02/09 22:02:13 christos Exp $ */
/* /*
* System call names. * System call names.
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.65 2017/02/09 03:23:59 christos Exp * created from NetBSD: syscalls.master,v 1.66 2017/02/09 22:02:05 christos Exp
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.74 2017/02/09 03:24:05 christos Exp $"); __KERNEL_RCSID(0, "$NetBSD: linux_syscalls.c,v 1.75 2017/02/09 22:02:13 christos Exp $");
#if defined(_KERNEL_OPT) #if defined(_KERNEL_OPT)
#include <sys/param.h> #include <sys/param.h>

View File

@ -1,14 +1,14 @@
/* $NetBSD: linux_sysent.c,v 1.74 2017/02/09 03:24:05 christos Exp $ */ /* $NetBSD: linux_sysent.c,v 1.75 2017/02/09 22:02:13 christos Exp $ */
/* /*
* System call switch table. * System call switch table.
* *
* DO NOT EDIT-- this file is automatically generated. * DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.65 2017/02/09 03:23:59 christos Exp * created from NetBSD: syscalls.master,v 1.66 2017/02/09 22:02:05 christos Exp
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.74 2017/02/09 03:24:05 christos Exp $"); __KERNEL_RCSID(0, "$NetBSD: linux_sysent.c,v 1.75 2017/02/09 22:02:13 christos Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/poll.h> #include <sys/poll.h>
@ -763,8 +763,8 @@ struct sysent linux_sysent[] = {
.sy_call = (sy_call_t *)linux_sys_getsockopt .sy_call = (sy_call_t *)linux_sys_getsockopt
}, /* 173 = getsockopt */ }, /* 173 = getsockopt */
{ {
ns(struct linux_sys_listen_args), ns(struct sys_listen_args),
.sy_call = (sy_call_t *)linux_sys_listen .sy_call = (sy_call_t *)sys_listen
}, /* 174 = listen */ }, /* 174 = listen */
{ {
ns(struct linux_sys_recv_args), ns(struct linux_sys_recv_args),