call_usermodehelper

Name

call_usermodehelper --  start a usermode application

Synopsis

int call_usermodehelper (char * path, char ** argv, char ** envp);

Arguments

path

pathname for the application

argv

null-terminated argument list

envp

null-terminated environment list

Description

Runs a user-space application. The application is started asynchronously. It runs as a child of keventd. It runs with full root capabilities. keventd silently reaps the child when it exits.

Must be called from process context. Returns zero on success, else a negative error code.