linux-stable/drivers/power
David Lechner 9ad66b78ca power: supply: sysfs: ratelimit property read error message
[ Upstream commit 87a2b65fc8 ]

This adds rate limiting to the message that is printed when reading a
power supply property via sysfs returns an error. This will prevent
userspace applications from unintentionally dDOSing the system by
continuously reading a property that returns an error.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-10-05 12:30:09 +02:00
..
avs PM / AVS: SmartReflex: Neaten logging 2016-09-13 02:43:05 +02:00
reset power: vexpress: fix corruption in notifier registration 2018-10-03 17:01:42 -07:00
supply power: supply: sysfs: ratelimit property read error message 2019-10-05 12:30:09 +02:00
Kconfig power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00
Makefile power: move power supply drivers to power/supply 2016-08-11 01:11:03 +02:00