'\" t .\" Title: call_usermodehelper .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: Module Support .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "CALL_USERMODEHELPER" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "Module Support" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" call_usermodehelper \- prepare and start a usermode application .SH "SYNOPSIS" .HP \w'int\ call_usermodehelper('u .BI "int call_usermodehelper(const\ char\ *\ " "path" ", char\ **\ " "argv" ", char\ **\ " "envp" ", int\ " "wait" ");" .SH "ARGUMENTS" .PP \fIconst char * path\fR .RS 4 path to usermode executable .RE .PP \fIchar ** argv\fR .RS 4 arg vector for process .RE .PP \fIchar ** envp\fR .RS 4 environment for process .RE .PP \fIint wait\fR .RS 4 wait for the application to finish and return status\&. when UMH_NO_WAIT don\*(Aqt wait at all, but you get no useful error back when the program couldn\*(Aqt be exec\*(Aqed\&. This makes it safe to call from interrupt context\&. .RE .SH "DESCRIPTION" .PP This function is the equivalent to use \fBcall_usermodehelper_setup\fR and \fBcall_usermodehelper_exec\fR\&. .SH "COPYRIGHT" .br