summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-07-30 22:00:53 +0200
committerLen Brown <len.brown@intel.com>2009-08-02 17:26:43 +0200
commitd0006f3281c920fbfead0f5035c62ec8053f980a (patch)
tree6e014777b6fc1ee9a026216767c265d27e85d141 /drivers/acpi
parentLinux 2.6.31-rc5 (diff)
downloadlinux-d0006f3281c920fbfead0f5035c62ec8053f980a.tar.xz
linux-d0006f3281c920fbfead0f5035c62ec8053f980a.zip
ACPI: root-only read protection on /sys/firmware/acpi/tables/*
they were world readable. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/system.c2
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,
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;
}