sosend() and mbuf
julian at elischer.org
Tue Aug 4 16:37:22 UTC 2009
>> Is it possible to call kern_open() from within a kernel thread anyway?
> I think yes, It worked on the parent thread before creating a new kthread.
> See OpenKETA source, its using the same approach.
I wouldn't count on that..
>> kern_open() depends on a file descriptor table, right?
> Yes, it returns a fd in the curthread->td_retval, which i should
> use within the same thread to deal with this file.
and kernel threads have not file descriptors (I think) so....
it would crash...
isn't that what you are seeing?
> freebsd-hackers at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
More information about the freebsd-hackers