Name
call_usermodehelper_setup —
prepare to call a usermode helper
Synopsis
struct subprocess_info * fsfunccall_usermodehelper_setup ( | char * path, |
| | char ** argv, |
| | char ** envp, |
| | gfp_t gfp_mask); |
Arguments
path
path to usermode executable
argv
arg vector for process
envp
environment for process
gfp_mask
gfp mask for memory allocation
Description
Returns either NULL on allocation failure, or a subprocess_info
structure. This should be passed to call_usermodehelper_exec to
exec the process and free the structure.