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>
Showing
- Documentation/acpi/method-customizing.txt 5 additions, 0 deletionsDocumentation/acpi/method-customizing.txt
- drivers/acpi/Kconfig 15 additions, 0 deletionsdrivers/acpi/Kconfig
- drivers/acpi/Makefile 1 addition, 0 deletionsdrivers/acpi/Makefile
- drivers/acpi/custom_method.c 100 additions, 0 deletionsdrivers/acpi/custom_method.c
- drivers/acpi/debugfs.c 1 addition, 79 deletionsdrivers/acpi/debugfs.c
Loading
Please register or sign in to comment