aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-4.14/902-debloat_proc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/generic/hack-4.14/902-debloat_proc.patch')
-rw-r--r--target/linux/generic/hack-4.14/902-debloat_proc.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/hack-4.14/902-debloat_proc.patch b/target/linux/generic/hack-4.14/902-debloat_proc.patch
index cae6d66e7d..98788cd265 100644
--- a/target/linux/generic/hack-4.14/902-debloat_proc.patch
+++ b/target/linux/generic/hack-4.14/902-debloat_proc.patch
@@ -227,7 +227,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
+ 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