diff options
| author | fvdl <fvdl@NetBSD.org> | 2000-12-22 23:41:16 +0000 |
|---|---|---|
| committer | fvdl <fvdl@NetBSD.org> | 2000-12-22 23:41:16 +0000 |
| commit | e60e78547428069e3dd6bce3bfbeac3b5403e7b0 (patch) | |
| tree | e00b69d85cd6efcb7fbde29e9e3a9642d3fdf456 /sys/compat/linux/common/linux_socket.c | |
| parent | 93c9760c88f449132c3fad6dc1a779d10ef6b4fb (diff) | |
Don't do the syscall with modified ioctl command if we've successfully
done a 'passthrough' ioctl.
Diffstat (limited to 'sys/compat/linux/common/linux_socket.c')
| -rw-r--r-- | sys/compat/linux/common/linux_socket.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/linux/common/linux_socket.c b/sys/compat/linux/common/linux_socket.c index fd17972ec7d..5449be795c1 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.25 2000/12/18 14:46:36 fvdl Exp $ */ +/* $NetBSD: linux_socket.c,v 1.26 2000/12/22 23:41:16 fvdl Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -626,6 +626,7 @@ linux_ioctl_socket(p, uap, retval) * so, to avoid unexpected things from happening. */ if (isdev) { + dosys = 0; ioctlf = fp->f_ops->fo_ioctl; pt.com = SCARG(uap, com); pt.data = SCARG(uap, data); |
