NetBSD Problem Report #14414
Received: (qmail 5995 invoked from network); 31 Oct 2001 23:36:56 -0000
Message-Id: <200110312235.f9VMZLe04708@bacardi.got.gatespace.com>
Date: Wed, 31 Oct 2001 23:35:21 +0100 (MET)
From: tommy@gatespace.com
Reply-To: tommy@gatespace.com
To: gnats-bugs@gnats.netbsd.org
Subject: Missing ioctls in linux emulation
X-Send-Pr-Version: 3.95
>Number: 14414
>Category: kern
>Synopsis: Linux emulation lacks ioctls TCSBRK, TIOCMGET, TIOCMSET
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 31 23:38:00 +0000 2001
>Closed-Date: Wed Dec 19 15:21:16 +0000 2001
>Last-Modified: Wed Dec 19 15:21:16 +0000 2001
>Originator: Tommy Bohlin
>Release: NetBSD 1.5.1
>Organization:
Tommy Bohlin office +46 31 7439815
tommy@gatespace.com mobile +46 707 786400
Gatespace AB, Göteborg, Sweden fax +46 31 7116416
>Environment:
i386, cvs current 2001-10-31
>Description:
The ioctls are not functional
>How-To-Repeat:
>Fix:
Add this to compat/linux/common/linux_termios.c:
case LINUX_TCSBRK:
SCARG(&ia, com) = SCARG(uap, data) ? TIOCDRAIN : TIOCSBRK;
break;
case LINUX_TIOCMGET:
SCARG(&ia, com) = TIOCMGET;
break;
case LINUX_TIOCMSET:
SCARG(&ia, com) = TIOCMSET;
break;
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: tron
State-Changed-When: Thu Nov 1 08:39:46 PST 2001
State-Changed-Why:
Could you please provide a pointer to some documentation about these
I/O controls? I need to know the exact arguments to make sure that these
changes work on all architectures.
From: Jaromir Dolecek <jdolecek@NetBSD.org>
To: tommy@gatespace.com
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: kern/14414: Missing ioctls in linux emulation
Date: Sat, 3 Nov 2001 11:56:08 +0100 (CET)
Would you please also provide example of an application using
these ioctls, so that we could test the change?
Thanks,
Jaromir
State-Changed-From-To: feedback->closed
State-Changed-By: augustss
State-Changed-When: Wed Dec 19 07:20:44 PST 2001
State-Changed-Why:
Patch applied.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.