Re: Exec'ing user space helper programs

Linus Torvalds (torvalds@transmeta.com)
Sat, 12 Feb 2000 09:56:16 -0800 (PST)


On Sat, 12 Feb 2000, Thomas Sailer wrote:
>
> Exec'ing a user mode program however is not so straigtforward,
> everytime I look into kmod.c the code gets more complex 8-)
> Up to now I just copied the code from kmod.c into my driver,
> but the code duplication starts to get annoying, furthermore
> a couple of routines (free_uid and flush_signal_handlers)
> are not even exported.
>
> So I'd like to export the exec-facility of kmod.
>
> The following is a patch to do this.
>
> Comments?

Looks good. This is something we'll probably need for other things:
hot-plug devices need to inform user space about [dis-]appearance etc.
Applied.

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/