Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2002 22:49:17 +0100 (BST)
From:      Duncan Barclay <dmlb@dmlb.org>
To:        hackers@freebsd.org, current@freebsd.org
Subject:   TIOCSCTTY not implemented in linuxulator?
Message-ID:  <XFMail.20020903224917.dmlb@computer.my.domain>

next in thread | raw e-mail | index | archive | help
Hi

Does anyone know why TIOCSCTTY isn't implemented in compat/linux_ioctl.c?
The last change in this area was back in 1999 when the ioctl handling was
revamped, but this ioctl was not implemented. Do controlling terminals
work okay in the linuxulator?

Implementing this might solve a problem with Matlab, where it refuses to exit.
Matlab issues calls to two unimplemented ioctls on the tty side of a pty/tty
pair.

linux: 'ioctl' fd=4, cmd=0x1 ('',1) not implemented
linux: 'ioctl' fd=4, cmd=0x1 ('',1) not implemented
linux: 'ioctl' fd=4, cmd=0x540e ('T',14) not implemented

0x540e is TIOCSCTTY, and according to /compat/linux/usr/include/asm/ioctls.h
0x1 is TIOCSER_TEMT (Transmitter physically empty)?

I'm using
        4.6-PRERELEASE
        linux_base-6.1_1
        linux_devtools-6.1
        linux_kdump-1.4

Thanks

Duncan

-- 
________________________________________________________________________
Duncan Barclay  | God smiles upon the little children,
dmlb@dmlb.org   | the alcoholics, and the permanently stoned.
dmlb@freebsd.org| Steven King

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020903224917.dmlb>