Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Aug 2009 10:09:53 -0700
From:      Julian Elischer <julian@elischer.org>
To:        =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no>
Cc:        Maslan <maslanbsd@gmail.com>, FreeBSD Hackers <freebsd-hackers@freebsd.org>, Ed Schouten <ed@80386.nl>
Subject:   Re: sosend() and mbuf
Message-ID:  <4A786B61.6060702@elischer.org>
In-Reply-To: <8663d3345x.fsf@ds4.des.no>
References:  <319cceca0908030119i3432a495ya60aa431dab0e1b1@mail.gmail.com>	<86k51k4kvl.fsf@ds4.des.no> <86fxc84ksj.fsf@ds4.des.no>	<200908040138.14743.max@love2party.net>	<319cceca0908040227hf9a0f92jbf05b11e9f974994@mail.gmail.com>	<20090804093036.GN1292@hoeg.nl>	<319cceca0908040239k2accd7fen402db4c91687a267@mail.gmail.com>	<20090804094142.GO1292@hoeg.nl>	<319cceca0908040252w105d3dfdge9dec3c8b6d28607@mail.gmail.com>	<4A7863D5.3000701@elischer.org> <8663d3345x.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smørgrav wrote:
> Julian Elischer <julian@elischer.org> writes:
>> and kernel threads have not file descriptors (I think) so....  it
>> would crash...
> 
> Threads don't have filedesc tables.  Processes have filedesc tables.  In
> theory, his thread is associated with proc0, which *does* have a
> properly initialized filedesc table.
> 
> DES

unless he is in 7.x
in which case he's getting a separate process to boot, which has no 
file descriptor table.






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