diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-11-18 10:08:18 +0100 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-11-19 14:59:03 +0100 |
commit | d2ee9220515d0bbfe74414c84ef55cff640726ba (patch) | |
tree | 5d46e8e7d2f53b527cbe2d8a8e9bc702ff7f655e /target/linux/generic/hack-4.9/902-debloat_proc.patch | |
parent | 25127f58b42d794bd47d56ea107f3dfc9cc4816c (diff) | |
download | upstream-d2ee9220515d0bbfe74414c84ef55cff640726ba.tar.gz upstream-d2ee9220515d0bbfe74414c84ef55cff640726ba.tar.bz2 upstream-d2ee9220515d0bbfe74414c84ef55cff640726ba.zip |
kernel: bump 4.9 to 4.9.202
Refreshed all patches.
Altered patches:
- 902-debloat_proc.patch
Compile-tested on: none
Runtime-tested on: none
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/generic/hack-4.9/902-debloat_proc.patch')
-rw-r--r-- | target/linux/generic/hack-4.9/902-debloat_proc.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/hack-4.9/902-debloat_proc.patch b/target/linux/generic/hack-4.9/902-debloat_proc.patch index 8bed139d1b..cb13f0ff02 100644 --- a/target/linux/generic/hack-4.9/902-debloat_proc.patch +++ b/target/linux/generic/hack-4.9/902-debloat_proc.patch @@ -249,10 +249,10 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name> #endif #ifdef CONFIG_PROC_FS - proc_create("buddyinfo", S_IRUGO, NULL, &fragmentation_file_operations); -- proc_create("pagetypeinfo", S_IRUGO, NULL, &pagetypeinfo_file_ops); +- proc_create("pagetypeinfo", 0400, NULL, &pagetypeinfo_file_ops); + if (!IS_ENABLED(CONFIG_PROC_STRIPPED)) { + proc_create("buddyinfo", S_IRUGO, NULL, &fragmentation_file_operations); -+ proc_create("pagetypeinfo", S_IRUGO, NULL, &pagetypeinfo_file_ops); ++ proc_create("pagetypeinfo", 0400, NULL, &pagetypeinfo_file_ops); + proc_create("zoneinfo", S_IRUGO, NULL, &proc_zoneinfo_file_operations); + } proc_create("vmstat", S_IRUGO, NULL, &proc_vmstat_file_operations); |