summaryrefslogtreecommitdiff
path: root/include/linux/umh.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2020-06-26 20:23:00 +0300
committerEric W. Biederman <ebiederm@xmission.com>2020-07-04 17:34:32 +0300
commit884c5e683b67dbc52892e24c29eed864f330ec08 (patch)
treee69543de4b670cda9a0ce55362b059ded849fc40 /include/linux/umh.h
parent21d598280675c463ea1b264fab06e9614aacd1e1 (diff)
downloadlinux-884c5e683b67dbc52892e24c29eed864f330ec08.tar.xz
umh: Separate the user mode driver and the user mode helper support
This makes it clear which code is part of the core user mode helper support and which code is needed to implement user mode drivers. This makes the kernel smaller for everyone who does not use a usermode driver. v1: https://lkml.kernel.org/r/87tuyyf0ln.fsf_-_@x220.int.ebiederm.org v2: https://lkml.kernel.org/r/87imf963s6.fsf_-_@x220.int.ebiederm.org Link: https://lkml.kernel.org/r/20200702164140.4468-5-ebiederm@xmission.com Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Alexei Starovoitov <ast@kernel.org> Tested-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include/linux/umh.h')
-rw-r--r--include/linux/umh.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/umh.h b/include/linux/umh.h
index de08af00c68a..73173c4a07e5 100644
--- a/include/linux/umh.h
+++ b/include/linux/umh.h
@@ -39,16 +39,6 @@ call_usermodehelper_setup(const char *path, char **argv, char **envp,
int (*init)(struct subprocess_info *info, struct cred *new),
void (*cleanup)(struct subprocess_info *), void *data);
-struct umh_info {
- const char *cmdline;
- struct file *pipe_to_umh;
- struct file *pipe_from_umh;
- struct list_head list;
- void (*cleanup)(struct umh_info *info);
- pid_t pid;
-};
-int fork_usermode_blob(void *data, size_t len, struct umh_info *info);
-
extern int
call_usermodehelper_exec(struct subprocess_info *info, int wait);