---
name: "call_usermodehelper_keys"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/call_usermodehelper_keys"
---

# call\_usermodehelper\_keys(9)

start a usermode application

## NAME

call\_usermodehelper\_keys - start a usermode application

## SYNOPSIS

**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.

## DESCRIPTION

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.

## COPYRIGHT
