Driver core: add CONFIG_UEVENT_HELPER_PATH
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 15 Aug 2007 13:38:28 +0000 (15:38 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:51:01 +0000 (14:51 -0700)
commit6a8d8abb6e4497ae4132a9b1f0a956ea501f1c46
treef1951698261d20dab965e4595d84560f533ab14d
parent7eff2e7a8b65c25920207324e56611150eb1cd9a
Driver core: add CONFIG_UEVENT_HELPER_PATH

The kernel creates a process for every event that is send, even when
there is no binary it could execute.  We are needlessly creating around
200-300 failing processes during early bootup, until we have the chance
to disable it from userspace.

This change allows us to disable /sbin/hotplug entirely, if you want to,
by setting UEVENT_HELPER_PATH="" in the kernel config.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/Kconfig
lib/kobject_uevent.c