aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-3.18/902-debloat_proc.patch
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2019-01-07 10:55:44 +0100
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2019-01-07 17:09:06 +0100
commita18f68ff3070cee50482e4bf3cc6bbf00f92f82b (patch)
treefa1bec624738723ad5a04c8d9ef3f6dc20c28e30 /target/linux/generic/pending-3.18/902-debloat_proc.patch
parent93c35bfa21a4d8cd66a4fe9218ba08088cb27ad2 (diff)
downloadupstream-a18f68ff3070cee50482e4bf3cc6bbf00f92f82b.tar.gz
upstream-a18f68ff3070cee50482e4bf3cc6bbf00f92f82b.tar.bz2
upstream-a18f68ff3070cee50482e4bf3cc6bbf00f92f82b.zip
kernel: bump 3.18 to 3.18.131
Refreshed all patches. Altered patches: - 902-debloat_proc.patch Compile-tested on: adm5120 Runtime-tested on: none Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/generic/pending-3.18/902-debloat_proc.patch')
-rw-r--r--target/linux/generic/pending-3.18/902-debloat_proc.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/generic/pending-3.18/902-debloat_proc.patch b/target/linux/generic/pending-3.18/902-debloat_proc.patch
index 69cf448414..c629d1020d 100644
--- a/target/linux/generic/pending-3.18/902-debloat_proc.patch
+++ b/target/linux/generic/pending-3.18/902-debloat_proc.patch
@@ -111,13 +111,14 @@
if (!root_irq_dir)
--- a/kernel/time/timer_list.c
+++ b/kernel/time/timer_list.c
-@@ -362,6 +362,8 @@ static int __init init_timer_list_procfs
+@@ -362,6 +362,9 @@ static int __init init_timer_list_procfs
{
struct proc_dir_entry *pe;
+ if (IS_ENABLED(CONFIG_PROC_STRIPPED))
+ return 0;
- pe = proc_create("timer_list", 0444, NULL, &timer_list_fops);
++
+ pe = proc_create("timer_list", 0400, NULL, &timer_list_fops);
if (!pe)
return -ENOMEM;
--- a/mm/vmalloc.c