mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 01:49:36 +00:00
![Eric W. Biederman](/assets/img/avatar_default.png)
The bpfilter code no longer uses the umd_info.cleanup callback. This callback is what exit_umh exists to call. So remove exit_umh and all of it's associated booking. v1: https://lkml.kernel.org/r/87bll6dlte.fsf_-_@x220.int.ebiederm.org v2: https://lkml.kernel.org/r/87y2o53abg.fsf_-_@x220.int.ebiederm.org Link: https://lkml.kernel.org/r/20200702164140.4468-15-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>
18 lines
467 B
C
18 lines
467 B
C
#ifndef __LINUX_USERMODE_DRIVER_H__
|
|
#define __LINUX_USERMODE_DRIVER_H__
|
|
|
|
#include <linux/umh.h>
|
|
#include <linux/path.h>
|
|
|
|
struct umd_info {
|
|
const char *driver_name;
|
|
struct file *pipe_to_umh;
|
|
struct file *pipe_from_umh;
|
|
struct path wd;
|
|
struct pid *tgid;
|
|
};
|
|
int umd_load_blob(struct umd_info *info, const void *data, size_t len);
|
|
int umd_unload_blob(struct umd_info *info);
|
|
int fork_usermode_driver(struct umd_info *info);
|
|
|
|
#endif /* __LINUX_USERMODE_DRIVER_H__ */
|