Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 2008 11:56:36 +0400
From:      Chagin Dmitry <dchagin@freebsd.org>
To:        Roman Divacky <rdivacky@freebsd.org>
Cc:        freebsd-emulation@freebsd.org, FreeBSD bugmaster <bugmaster@freebsd.org>
Subject:   Re: Current problem reports assigned to freebsd-emulation@FreeBSD.org
Message-ID:  <20080909075636.GA1763@dchagin.dialup.corbina.ru>
In-Reply-To: <20080909073443.GA11721@freebsd.org>
References:  <200809080222.m882MIdL006640@freefall.freebsd.org> <20080908200524.GA74912@freebsd.org> <20080909071335.GA1522@dchagin.dialup.corbina.ru> <20080909072509.GA10750@freebsd.org> <20080909073108.GA1665@dchagin.dialup.corbina.ru> <20080909073443.GA11721@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 09, 2008 at 09:34:43AM +0200, Roman Divacky wrote:
> On Tue, Sep 09, 2008 at 11:31:08AM +0400, Chagin Dmitry wrote:
> > On Tue, Sep 09, 2008 at 09:25:09AM +0200, Roman Divacky wrote:
> > > On Tue, Sep 09, 2008 at 11:13:35AM +0400, Chagin Dmitry wrote:
> > > > On Mon, Sep 08, 2008 at 10:05:24PM +0200, Roman Divacky wrote:
> > > > > On Mon, Sep 08, 2008 at 02:22:18AM +0000, FreeBSD bugmaster wrote:
> > > > > > The following is a listing of current problems submitted by FreeBSD users.
> > > > > > These represent problem reports covering all versions including
> > > > > > experimental development code and obsolete releases.
> > > > > > 
> > > > > > S Tracker      Resp.      Description
> > > > > > --------------------------------------------------------------------------------
> > > > > > o kern/126232  emulation  [linux] Linux ioctl TCGETS (0x5401) always fails
> > > > 
> > > > what we will do with it? as I already wrote it not a bug.
> > > > it's glibc isatty() call, which is used by many programs for check file
> > > > descriptors.
> > > 
> > > I dont understand the PR much.... the TCGETS is already implemented but it fails
> > > for some fd... I didnt find any check in the linux code for the fd being a tty.
> > > 
> > 
> > csh for example
> 
> csh does what?

very often uses isatty(), it from fbsd:

 19750 csh      0.000010 CALL  fcntl(0x6,F_SETFD,FD_CLOEXEC)
 19750 csh      0.000010 RET   fcntl 0
 19750 csh      0.000023 CALL  ioctl(0x6,TIOCGETA,0x7fffffffc740)
 19750 csh      0.000011 RET   ioctl -1 errno 25 Inappropriate ioctl for device
 19750 csh      0.000011 CALL  sigprocmask(SIG_BLOCK,0,0x57b1c8)

-- 
Have fun!
chd



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