Date: Wed, 29 Nov 2006 13:58:45 -0700 From: John E Hein <jhein@timing.com> To: Jung-uk Kim <jkim@FreeBSD.org> Cc: freebsd-emulation@FreeBSD.org Subject: Re: [PATCH]: possible fix for the fifoor problem Message-ID: <17773.62597.411535.477324@gromit.timing.com> In-Reply-To: <200611071201.11899.jkim@FreeBSD.org> References: <20061106174033.GA70360@stud.fit.vutbr.cz> <17744.46794.149852.319567@gromit.timing.com> <200611071201.11899.jkim@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jung-uk Kim wrote at 12:01 -0500 on Nov 7, 2006: > Try the attached patch instead. > > Jung-uk Kim > --- src/sys/compat/linux/linux_stats.c.orig Sun Oct 22 07:52:11 2006 > +++ src/sys/compat/linux/linux_stats.c Tue Nov 7 11:59:21 2006 > @@ -130,7 +130,7 @@ > int temp; > > temp = td->td_retval[0]; > - if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY, 0) != 0) > + if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY | O_NONBLOCK, 0) != 0) > return; > fd = td->td_retval[0]; > td->td_retval[0] = temp; I don't know if there's been progress made here that I didn't notice, but even with this patch, I can get linux_seamonkey to hang in fifoor (like when I click on an URL to a PDF and try to 'Save it to disk').
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17773.62597.411535.477324>