Re: Exec'ing user space helper programs

From: Linus Torvalds (torvalds@transmeta.com)
Date: Sat Feb 12 2000 - 12:56:16 EST

  • Next message: Richard Henderson: "Re: 2.3.43 alpha broken with >2g of ram"

    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/



    This archive was generated by hypermail 2b29 : Sat Feb 12 2000 - 13:03:01 EST