sosend() and mbuf
Julian Elischer
julian at elischer.org
Tue Aug 4 17:09:35 UTC 2009
Dag-Erling Smørgrav wrote:
> Julian Elischer <julian at 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.
More information about the freebsd-hackers
mailing list