diff options
author | Len Brown <len.brown@intel.com> | 2009-07-30 16:00:53 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-08-02 11:26:43 -0400 |
commit | d0006f3281c920fbfead0f5035c62ec8053f980a (patch) | |
tree | 6e014777b6fc1ee9a026216767c265d27e85d141 | |
parent | ed680c4ad478d0fee9740f7d029087f181346564 (diff) |
ACPI: root-only read protection on /sys/firmware/acpi/tables/*
they were world readable.
Signed-off-by: Len Brown <len.brown@intel.com>
-rw-r--r-- | drivers/acpi/system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/system.c b/drivers/acpi/system.c index 0944daec064f..9c61ab2177cf 100644 --- a/drivers/acpi/system.c +++ b/drivers/acpi/system.c | |||
@@ -121,7 +121,7 @@ static void acpi_table_attr_init(struct acpi_table_attr *table_attr, | |||
121 | table_attr->attr.size = 0; | 121 | table_attr->attr.size = 0; |
122 | table_attr->attr.read = acpi_table_show; | 122 | table_attr->attr.read = acpi_table_show; |
123 | table_attr->attr.attr.name = table_attr->name; | 123 | table_attr->attr.attr.name = table_attr->name; |
124 | table_attr->attr.attr.mode = 0444; | 124 | table_attr->attr.attr.mode = 0400; |
125 | 125 | ||
126 | return; | 126 | return; |
127 | } | 127 | } |