]> git.baikalelectronics.ru Git - kernel.git/commit
umh: Remove call_usermodehelper_setup_file.
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 24 Jun 2020 22:01:18 +0000 (17:01 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 4 Jul 2020 14:34:26 +0000 (09:34 -0500)
commitfdc3470ec839fc184fefa3defe9a144225eecfcf
treee79f7b73e455642ddb904dfef0b4ca24ebe091d4
parentab9063d6cee8d5afc7593fcd2e42db2f48e84b1c
umh: Remove call_usermodehelper_setup_file.

The only caller of call_usermodehelper_setup_file is fork_usermode_blob.
In fork_usermode_blob replace call_usermodehelper_setup_file with
call_usermodehelper_setup and delete fork_usermodehelper_setup_file.

For this to work the argv_free is moved from umh_clean_and_save_pid
to fork_usermode_blob.

v1: https://lkml.kernel.org/r/87zh8qf0mp.fsf_-_@x220.int.ebiederm.org
v2: https://lkml.kernel.org/r/87o8p163u1.fsf_-_@x220.int.ebiederm.org
Link: https://lkml.kernel.org/r/20200702164140.4468-4-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/umh.h
kernel/umh.c