提交 d0006f32 编写于 作者: L Len Brown

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

they were world readable.
Signed-off-by: NLen Brown <len.brown@intel.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册