29 May, 2011

1 commit

  • 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
    Acked-by: Rafael J. Wysocki
    Acked-by: rui.zhang@intel.com
    Signed-off-by: Len Brown

    Thomas Renninger
     

15 Aug, 2010

1 commit

  • Introduce module parameter acpi.aml_debug_output.

    With acpi.aml_debug_output set, we can get AML debug object output
    (Store (AAA, Debug)), even with CONFIG_ACPI_DEBUG cleared.

    Together with the runtime custom method mechanism,
    we can debug AML code problems without rebuilding the kernel.

    Signed-off-by: Zhang Rui
    Signed-off-by: Len Brown

    Zhang Rui
     

11 Dec, 2009

1 commit

  • Introduce a new debugfs I/F (/sys/kernel/debug/acpi/custom_method) for ACPI,
    which can be used to customize the ACPI control methods at runtime.

    We can use this to debug the AML code level bugs instead of overriding the
    whole DSDT table, without rebuilding/rebooting kernel any more.

    Detailed description about how to use this debugfs I/F is stated in
    Documentation/acpi/method-customizing.txt

    Signed-off-by: Zhang Rui
    Signed-off-by: Len Brown

    Zhang Rui