projects
/
linux-flexiantxendom0-natty.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
229b7fb
)
Revert "UBUNTU: SAUCE: kernel: make /proc/kallsyms mode 400 to reduce ease of attacking"
author
Kees Cook <kees.cook@canonical.com>
Sat, 5 Feb 2011 17:27:39 +0000
(09:27 -0800)
committer
Leann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:53:39 +0000
(06:53 -0700)
This reverts commit
befcdadcedaf84e9498db9accd9cfcdcf1724fc4
.
Functionality replaced by %pK filtering from -mm.
Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
kernel/kallsyms.c
patch
|
blob
|
history
diff --git
a/kernel/kallsyms.c
b/kernel/kallsyms.c
index
a8db257
..
6f6d091
100644
(file)
--- a/
kernel/kallsyms.c
+++ b/
kernel/kallsyms.c
@@
-546,7
+546,7
@@
static const struct file_operations kallsyms_operations = {
static int __init kallsyms_init(void)
{
- proc_create("kallsyms", 0400, NULL, &kallsyms_operations);
+ proc_create("kallsyms", 0444, NULL, &kallsyms_operations);
return 0;
}
device_initcall(kallsyms_init);