Subject: Re: CVS commit: src/sys/kern (tty.c:1.174)
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: current-users
Date: 07/11/2005 16:20:02
In article <slrndd42e8.kr.mason@g.primenet.com.au>,
Geoff Wing  <mason@primenet.com.au> wrote:
>Christos Zoulas <christos@netbsd.org> typed:
>: Modified Files:
>: 	src/sys/kern: tty.c
>: Log Message:
>: Allow F{G,S}OWN to succeed on a tty that has no session associated with it,
>: and it is not the controlling tty. This change allows us to use SIGIO on
>: a non-controlling tty (eg. debug ntpd with a refclock on a tty).
>
>This has killed my com port mouse under XFree 4.5.0 (i386).  Previously
>with a working mouse /var/log/XFree86.0.log would have
>  (WW) fcntl(6, F_SETOWN): Inappropriate ioctl for device
>
>Anything obvious to anyone else?  (before I have to kickstart my brain)

I don't know, it seems to me that before it was returning EPERM, and now
it is returning EINVAL. It should have been failing before too.

christos