ACPI: Split out custom_method functionality into an own driver
authorThomas Renninger <trenn@suse.de>
Thu, 26 May 2011 10:26:24 +0000 (12:26 +0200)
committerLen Brown <len.brown@intel.com>
Sun, 29 May 2011 05:50:40 +0000 (01:50 -0400)
commit526b4af47f44148c9d665e57723ed9f86634c6e3
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 [new file with mode: 0644]
drivers/acpi/debugfs.c