call_usermodehelper_keys(9)

call_usermodehelper_keys9

Start a usermode application

Usage

int call_usermodehelper_keys(char * path, char ** argv, char ** envp, struct key * session_keyring, int wait);

Arguments

path

pathname for the application

argv

null-terminated argument list

envp

null-terminated environment list

session_keyring

session keyring for process (NULL for an empty keyring)

wait

wait for the application to finish and return status.

Overview

Runs a user-space application. The application is started asynchronously if wait is not set, and runs as a child of keventd. (ie. it runs with full root capabilities).

Must be called from process context. Returns a negative error code if program was not execed successfully, or 0.

From linux-manual-2.6.18 2.6.18.dfsg.1-26etch2 in Debian 4.0 (Etch). Parsed by carta from the page's man source.