[PATCH 0/2] Fix CMOS BOOT check when loading tables from file
Colin King
colin.king at canonical.com
Fri Jun 22 11:01:55 UTC 2012
From: Colin Ian King <colin.king at canonical.com>
The following two patches address bug LP: #1016469 - the first patch
adds a provenance to the loaded tables so we can see where they came
from (e.g. firmware, file or from a fwts fixup). This allows tests to
then inspect the table to see if the table has been loaded from firmware
or not.
The second patch fixes the bug itself by only doing the check of CMOS
a BOOT table if the table has been loaded directly from firmware on the
machine.
This fixes a bug seen when running fwts-test as root which has permission
to read the CMOS information compared to a non-root user which cannot.
Colin Ian King (2):
lib: fwts_acpi_tables: add ACPI table provenance
apci: acpitables: only check CMOS in BOOT table from firmware tables
(LP: #1016469)
src/acpi/acpidump/acpidump.c | 120 ++++++++++++++++++++++++++----------
src/lib/include/fwts_acpi_tables.h | 7 +++
src/lib/src/fwts_acpi_tables.c | 57 +++++++++++------
3 files changed, 132 insertions(+), 52 deletions(-)
--
1.7.10.4
More information about the fwts-devel
mailing list