Commit d0006f32 authored by Len Brown's avatar Len Brown

ACPI: root-only read protection on /sys/firmware/acpi/tables/*

they were world readable.
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent ed680c4a
......@@ -121,7 +121,7 @@ static void acpi_table_attr_init(struct acpi_table_attr *table_attr,
table_attr->attr.size = 0;
table_attr->attr.read = acpi_table_show;
table_attr->attr.attr.name = table_attr->name;
table_attr->attr.attr.mode = 0444;
table_attr->attr.attr.mode = 0400;
return;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment