Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2006 14:25:02 -0400
From:      John Baldwin <john@baldwin.cx>
To:        freebsd-threads@freebsd.org, John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        anders@freebsd.org
Subject:   Re: kern/103127: Kernel panic while using thread features in Squid 2.6
Message-ID:  <200609221425.02723.john@baldwin.cx>
In-Reply-To: <20060922023748.GR23915@funkthat.com>
References:  <200609202105.k8KL5fh7081141@freefall.freebsd.org> <200609212152.31366.john@baldwin.cx> <20060922023748.GR23915@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 21 September 2006 22:37, John-Mark Gurney wrote:
> John Baldwin wrote this message on Thu, Sep 21, 2006 at 21:52 -0400:
> > On Wednesday 20 September 2006 17:05, John-Mark Gurney wrote:
> > > Synopsis: Kernel panic while using thread features in Squid 2.6
> > > 
> > > State-Changed-From-To: open->feedback
> > > State-Changed-By: jmg
> > > State-Changed-When: Wed Sep 20 21:04:55 UTC 2006
> > > State-Changed-Why: 
> > > waiting for people to test the patch of badfo_kqfilter that is attached
> > > to the bug..
> > 
> > Should it possibly return EBADF rather than EINVAL?
> 
> If we got this far, we have to have a valid fd, maybe ENXIO?

badfo_* are used for bad (invalid) file descriptors. :)  All the other badfo_* 
functions return EBADF (except for poll, since it returns an event mask 
rather than an errno).

-- 
John Baldwin



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