'\" t .\" Title: call_usermodehelper_exec .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Module Support .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "CALL_USERMODEHELPER_" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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_exec \- start a usermode application .SH "SYNOPSIS" .HP \w'int\ call_usermodehelper_exec('u .BI "int call_usermodehelper_exec(struct\ subprocess_info\ *\ " "sub_info" ", int\ " "wait" ");" .SH "ARGUMENTS" .PP \fIsub_info\fR .RS 4 information about the subprocessa .RE .PP \fIwait\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 Runs a user\-space application\&. The application is started asynchronously if wait is not set, and runs as a child of system workqueues\&. (ie\&. it runs with full root capabilities and optimized affinity)\&. .SH "COPYRIGHT" .br