Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2005 14:25:13 +0200
From:      Joerg Sonnenberger <joerg@britannica.bec.de>
To:        freebsd-hackers@freebsd.org
Subject:   Re: linux call_usermodehelper equivalent in freebsd?
Message-ID:  <20050417122513.GA3106@britannica.bec.de>
In-Reply-To: <426249D0.6010504@binturong.us>
References:  <426249D0.6010504@binturong.us>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050417122513.GA3106>