> 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. > kern_open() depends on a file descriptor table, right? Yes, it returns a fd in the curthread->td_retval[0], which i should use within the same thread to deal with this file. _______________________________________________ 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"
- Re: sosend() and mbuf Maslan
- Re: sosend() and mbuf Dag-Erling Smørgrav
- Re: sosend() and mbuf Dag-Erling Smørgrav
- Re: sosend() and mbuf Maslan
- Re: sosend() and mbuf Dag-Erling Smørgrav
- Re: sosend() and mbuf Max Laier
- Re: sosend() and mbuf Maslan
- Re: sosend() and mbuf Ed Schouten
- Re: sosend() and mbuf Maslan
- Re: sosend() and mbuf Ed Schouten
- Re: sosend() and mbuf Maslan
- Re: sosend() and mbuf Ed Schouten
- Re: sosend() and mbuf Maslan
- Re: sosend() and mbuf Maslan
- Re: sosend() and mbuf Julian Elischer
- Re: sosend() and mbuf Lawrence Stewart
- Re: sosend() and mbuf Julian Elischer
- Re: sosend() and mbuf Dag-Erling Smørgrav
- Re: sosend() and mbuf Julian Elischer
- Re: sosend() and mbuf Julian Elischer
- Re: sosend() and mbuf Maslan