linux call_usermodehelper equivalent in freebsd?

Joerg Sonnenberger joerg at britannica.bec.de
Sun Apr 17 05:25:21 PDT 2005


On Sun, Apr 17, 2005 at 12:34:40PM +0100, Andrew Tappert wrote:
> Is there an equivalent in FreeBSD to the Linux kernel function
> 'call_usermodehelper' which wraps execve to do as its name suggests,
> call a user mode helper program?

BSD kernels normally don't try to execute helper programs.
Setting up a process from scratch is not trivial work.

Can you give us for information on what you want to do? Maybe there is
a better solution available.

Joerg

> 
> If there is, what is it?
> 
> If not, can some kind person please point me to some code in the 
> kernel--if there is any--which does something similar (i.e., exec's a 
> usermode program from the kernel), so I may see how it's properly done? 
>  In what context is it ok just to do the exec?  How do I set it up?
> 
> Thanks,
> Andrew
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"


More information about the freebsd-hackers mailing list