commit | d0006f3281c920fbfead0f5035c62ec8053f980a | [log] [tgz] |
---|---|---|
author | Len Brown <len.brown@intel.com> | Thu Jul 30 16:00:53 2009 -0400 |
committer | Len Brown <len.brown@intel.com> | Sun Aug 02 11:26:43 2009 -0400 |
tree | 6e014777b6fc1ee9a026216767c265d27e85d141 | |
parent | ed680c4ad478d0fee9740f7d029087f181346564 [diff] [blame] |
ACPI: root-only read protection on /sys/firmware/acpi/tables/* they were world readable. Signed-off-by: Len Brown <len.brown@intel.com>
diff --git a/drivers/acpi/system.c b/drivers/acpi/system.c index 0944dae..9c61ab2 100644 --- a/drivers/acpi/system.c +++ b/drivers/acpi/system.c
@@ -121,7 +121,7 @@ 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; }