ACPI: Split out custom_method functionality into an own driver
commit526b4af47f44148c9d665e57723ed9f86634c6e3
authorThomas Renninger <trenn@suse.de>
Thu, 26 May 2011 10:26:24 +0000 (26 12:26 +0200)
committerLen Brown <len.brown@intel.com>
Sun, 29 May 2011 05:50:40 +0000 (29 01:50 -0400)
tree7906a3b45703aa730d5e7ebadc36a55aee5417ca
parentaecad432fd68dafa5b3b497c4816fbfce6fd4066
ACPI: Split out custom_method functionality into an own driver

With /sys/kernel/debug/acpi/custom_method root can write
to arbitrary memory and increase his priveleges, even if
these are restricted.

-> Make this an own debug .config option and warn about the
security issue in the config description.

-> Still keep acpi/debugfs.c which now only creates an empty
   /sys/kernel/debug/acpi directory. There might be other
   users of it later.

Signed-off-by: Thomas Renninger <trenn@suse.de>
Acked-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: rui.zhang@intel.com
Signed-off-by: Len Brown <len.brown@intel.com>
Documentation/acpi/method-customizing.txt
drivers/acpi/Kconfig
drivers/acpi/Makefile
drivers/acpi/custom_method.c [copied from drivers/acpi/debugfs.c with 85% similarity]
drivers/acpi/debugfs.c