| .. | .. |
|---|
| 22 | 22 | const char *path; |
|---|
| 23 | 23 | char **argv; |
|---|
| 24 | 24 | char **envp; |
|---|
| 25 | | - struct file *file; |
|---|
| 26 | 25 | int wait; |
|---|
| 27 | 26 | int retval; |
|---|
| 28 | | - pid_t pid; |
|---|
| 29 | 27 | int (*init)(struct subprocess_info *info, struct cred *new); |
|---|
| 30 | 28 | void (*cleanup)(struct subprocess_info *info); |
|---|
| 31 | 29 | void *data; |
|---|
| .. | .. |
|---|
| 39 | 37 | gfp_t gfp_mask, |
|---|
| 40 | 38 | int (*init)(struct subprocess_info *info, struct cred *new), |
|---|
| 41 | 39 | void (*cleanup)(struct subprocess_info *), void *data); |
|---|
| 42 | | - |
|---|
| 43 | | -struct subprocess_info *call_usermodehelper_setup_file(struct file *file, |
|---|
| 44 | | - int (*init)(struct subprocess_info *info, struct cred *new), |
|---|
| 45 | | - void (*cleanup)(struct subprocess_info *), void *data); |
|---|
| 46 | | -struct umh_info { |
|---|
| 47 | | - struct file *pipe_to_umh; |
|---|
| 48 | | - struct file *pipe_from_umh; |
|---|
| 49 | | - pid_t pid; |
|---|
| 50 | | -}; |
|---|
| 51 | | -int fork_usermode_blob(void *data, size_t len, struct umh_info *info); |
|---|
| 52 | 40 | |
|---|
| 53 | 41 | extern int |
|---|
| 54 | 42 | call_usermodehelper_exec(struct subprocess_info *info, int wait); |
|---|