projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed680c4
)
ACPI: root-only read protection on /sys/firmware/acpi/tables/*
author
Len Brown
<len.brown@intel.com>
Thu, 30 Jul 2009 20:00:53 +0000
(16:00 -0400)
committer
Len Brown
<len.brown@intel.com>
Sun, 2 Aug 2009 15:26:43 +0000
(11:26 -0400)
they were world readable.
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/system.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/system.c
b/drivers/acpi/system.c
index 0944daec064ff325b00d1823c81ae3dda649247e..9c61ab2177cf11a558f67877cff45709c3698a06 100644
(file)
--- 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 = 04
44
;
+ table_attr->attr.attr.mode = 04
00
;
return;
}