diff options
Diffstat (limited to 'include/linux/kmod.h')
-rw-r--r-- | include/linux/kmod.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/kmod.h b/include/linux/kmod.h index 5398d5807075..7eebcf5d75f1 100644 --- a/include/linux/kmod.h +++ b/include/linux/kmod.h | |||
@@ -71,6 +71,14 @@ call_usermodehelper_fns(char *path, char **argv, char **envp, int wait, | |||
71 | int (*init)(struct subprocess_info *info, struct cred *new), | 71 | int (*init)(struct subprocess_info *info, struct cred *new), |
72 | void (*cleanup)(struct subprocess_info *), void *data); | 72 | void (*cleanup)(struct subprocess_info *), void *data); |
73 | 73 | ||
74 | extern struct subprocess_info * | ||
75 | call_usermodehelper_setup(char *path, char **argv, char **envp, gfp_t gfp_mask, | ||
76 | int (*init)(struct subprocess_info *info, struct cred *new), | ||
77 | void (*cleanup)(struct subprocess_info *), void *data); | ||
78 | |||
79 | extern int | ||
80 | call_usermodehelper_exec(struct subprocess_info *info, int wait); | ||
81 | |||
74 | static inline int | 82 | static inline int |
75 | call_usermodehelper(char *path, char **argv, char **envp, int wait) | 83 | call_usermodehelper(char *path, char **argv, char **envp, int wait) |
76 | { | 84 | { |