Current problem reports assigned to
freebsd-emulation@FreeBSD.org
Roman Divacky
rdivacky at freebsd.org
Tue Sep 9 08:00:05 UTC 2008
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)
More information about the freebsd-emulation
mailing list