[CTS]Fix for CTS testProcStatsPkgProcStats
CTS-10.0_r4
CtsStatsdHostTestCases:
android.cts.statsd.validation.ProcStatsValidationTests
#testProcStatsPkgProcStats
RiskArea: CTS, kernel
Issue: PRJ6901-2423
Change-Id: I9db8f85558e5ae8f1b455088e236f76f2f6b2f91
(cherry picked from commit 837399b80d9461157b48b936f1c3fc4d91b251be)
diff --git a/mm/vmstat.c b/mm/vmstat.c
index 67c2293..98811ce 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -1790,7 +1790,7 @@
#endif
#ifdef CONFIG_PROC_FS
proc_create("buddyinfo", S_IRUGO, NULL, &fragmentation_file_operations);
- proc_create("pagetypeinfo", 0400, NULL, &pagetypeinfo_file_ops);
+ proc_create("pagetypeinfo", S_IRUGO, NULL, &pagetypeinfo_file_ops);
proc_create("vmstat", S_IRUGO, NULL, &proc_vmstat_file_operations);
proc_create("zoneinfo", S_IRUGO, NULL, &proc_zoneinfo_file_operations);
#endif