diff options
| author | christos <christos@NetBSD.org> | 2017-02-03 13:08:08 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2017-02-03 13:08:08 +0000 |
| commit | 674e379c025cd0bf5e5e7a1d631291d7922253a4 (patch) | |
| tree | f6d4efb57ba2b9b68ae43208a4a61e268d81195e /sys/compat/linux/common/linux_socket.c | |
| parent | b3c2438730f4b25800c8b6647458a4641c9026d0 (diff) | |
handle accept4 for i386
Diffstat (limited to 'sys/compat/linux/common/linux_socket.c')
| -rw-r--r-- | sys/compat/linux/common/linux_socket.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/compat/linux/common/linux_socket.c b/sys/compat/linux/common/linux_socket.c index 3dd1032cf26..3a23afd6d72 100644 --- a/sys/compat/linux/common/linux_socket.c +++ b/sys/compat/linux/common/linux_socket.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_socket.c,v 1.135 2017/02/03 08:43:02 martin Exp $ */ +/* $NetBSD: linux_socket.c,v 1.136 2017/02/03 13:08:08 christos Exp $ */ /*- * Copyright (c) 1995, 1998, 2008 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.135 2017/02/03 08:43:02 martin Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.136 2017/02/03 13:08:08 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_inet.h" @@ -1708,7 +1708,6 @@ linux_sys_accept(struct lwp *l, const struct linux_sys_accept_args *uap, registe return (0); } -#ifndef __i386__ /* Linux/i386 does not have this syscall */ int linux_sys_accept4(struct lwp *l, const struct linux_sys_accept4_args *uap, register_t *retval) { @@ -1743,5 +1742,3 @@ linux_sys_accept4(struct lwp *l, const struct linux_sys_accept4_args *uap, regis return 0; } -#endif - |
