Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Sep 2008 10:00:11 +0200
From:      Roman Divacky <rdivacky@freebsd.org>
To:        FreeBSD bugmaster <bugmaster@freebsd.org>, freebsd-emulation@freebsd.org
Subject:   Re: Current problem reports assigned to freebsd-emulation@FreeBSD.org
Message-ID:  <20080909080011.GA13405@freebsd.org>
In-Reply-To: <20080909075636.GA1763@dchagin.dialup.corbina.ru>
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> <20080909075636.GA1763@dchagin.dialup.corbina.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 09, 2008 at 11:56:36AM +0400, Chagin Dmitry wrote:
> 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)

what is the 0x6 fd? I'll see if it fails on linux too (I believe it does)



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