On Sun, Jul 18, 2004 at 09:51:09PM -0700, Julian Elischer wrote:
J> Probably the onl thing to do is to refuse to try an load the modules if 
J> you are not running
J> in the context of a process..

What about adding this check to ng_make_node()? It works for me OK.

                if (curthread->td_ithd != NULL)
                        return(EAGAIN);

Or even to linker_load_module()?

And possibly EAGAIN is not the best choice.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to