kmod: make usermodehelper path a const string
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jan 2017 16:50:02 +0000 (17:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2017 11:45:33 +0000 (12:45 +0100)
commit6d2c5d6c46dd3d9924831efd6c913fdf4d484985
treea17cc5bbce184be6d562e08432ae46b51ab21518
parent5593edfbfa30a049fca9abbd70a834d2888a4d9d
kmod: make usermodehelper path a const string

This is in preparation for making it so that usermode helper programs
can't be changed, if desired, by userspace.  We will tackle the mess of
cleaning up the write-ability of argv and env later, that's going to
take more work, for much less gain...

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/kmod.h
kernel/kmod.c