Dag-Erling Smørgrav wrote:
Julian Elischer <jul...@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.
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"