Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7934779a authored by Kay Sievers's avatar Kay Sievers Committed by Greg Kroah-Hartman
Browse files

Driver-Core: disable /sbin/hotplug by default



No recent mainstream system uses the /sbin/hotplug fork-bomb any more.
Disable it by default to reflect how it is used these days.

Signed-off-by: default avatarKay Sievers <kay.sievers@vrfy.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 4237e5fd
Loading
Loading
Loading
Loading
+9 −1
Original line number Original line Diff line number Diff line
@@ -3,10 +3,18 @@ menu "Generic Driver Options"
config UEVENT_HELPER_PATH
config UEVENT_HELPER_PATH
	string "path to uevent helper"
	string "path to uevent helper"
	depends on HOTPLUG
	depends on HOTPLUG
	default "/sbin/hotplug"
	default ""
	help
	help
	  Path to uevent helper program forked by the kernel for
	  Path to uevent helper program forked by the kernel for
	  every uevent.
	  every uevent.
	  Before the switch to the netlink-based uevent source, this was
	  used to hook hotplug scripts into kernel device events. It
	  usually pointed to a shell script at /sbin/hotplug.
	  This should not be used today, because usual systems create
	  many events at bootup or device discovery in a very short time
	  frame. One forked process per event can create so many processes
	  that it creates a high system load, or on smaller systems
	  it is known to create out-of-memory situations during bootup.


config DEVTMPFS
config DEVTMPFS
	bool "Maintain a devtmpfs filesystem to mount at /dev"
	bool "Maintain a devtmpfs filesystem to mount at /dev"