On running user mode helpers

From: Jonathan Corbet (corbet-lk@lwn.net)
Date: Fri Dec 08 2000 - 12:32:46 EST


I see we have a new "call_usermodehelper" routine now. It looks like the
end result is similer to exec_usermodehelper, except that you no longer
need to mess with creating kernel threads yourself.

Is call_usermodehelper now the officially blessed way for kernel code to
run something in user space? Perhaps exec_usermodehelper should become
private to kmod.c?

I also see that call_usermodehelper will call do_exit() if the exec fails,
while the path taken in request_module does not do that. Can both be
right?

Thanks,

jon

Jonathan Corbet
Executive editor, LWN.net
corbet@lwn.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:15 EST