table of contents
other versions
CALL_USERMODEHELPER(9) | Module Support | CALL_USERMODEHELPER(9) |
NAME¶
call_usermodehelper - prepare and start a usermode application
SYNOPSIS¶
int call_usermodehelper(const char * path, char ** argv, char ** envp, int wait);
ARGUMENTS¶
const char * path
path to usermode executable
char ** argv
arg vector for process
char ** envp
environment for process
int wait
wait for the application to finish and return status.
when UMH_NO_WAIT don't wait at all, but you get no useful error back when the
program couldn't be exec'ed. This makes it safe to call from interrupt
context.
DESCRIPTION¶
This function is the equivalent to use call_usermodehelper_setup and call_usermodehelper_exec.
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |