call_usermodehelper_keys — start a usermode application
int call_usermodehelper_keys ( | char * path, |
char ** argv, | |
char ** envp, | |
struct key * session_keyring, | |
int wait) ; |
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. when -1 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.