umh: Separate the user mode driver and the user mode helper support
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 26 Jun 2020 17:23:00 +0000 (12:23 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 4 Jul 2020 14:34:32 +0000 (09:34 -0500)
commit884c5e683b67dbc52892e24c29eed864f330ec08
treee69543de4b670cda9a0ce55362b059ded849fc40
parent21d598280675c463ea1b264fab06e9614aacd1e1
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>
include/linux/bpfilter.h
include/linux/sched.h
include/linux/umh.h
include/linux/usermode_driver.h [new file with mode: 0644]
kernel/Makefile
kernel/exit.c
kernel/umh.c
kernel/usermode_driver.c [new file with mode: 0644]