]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita268507fa28694d8d895ff9e61ccdcd141204509
tree7906a3b45703aa730d5e7ebadc36a55aee5417ca
parentc3f9b83de378ca096bc587ce76ade2b4bc5e0cd2
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