Revert "mm, vmstat: hide /proc/pagetypeinfo from normal users"

This reverts commit 6c944fc51f.

Change-Id: I92b732f1a3c51bada8db2d6e606344f3ead5cd0f
Moto-CRs-fixed: (CR)
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1543986
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
This commit is contained in:
zhaoxp3 authored and Gilberto Gambugge committed 2023-06-01 00:47:11 -03:00
1 parent ca75b9e966
commit b2f8ddf75a
1 file changed
+1 -1
+1 -1
View File
@@ -1987,7 +1987,7 @@ void __init init_mm_internals(void)
#endif #endif
#ifdef CONFIG_PROC_FS #ifdef CONFIG_PROC_FS
proc_create_seq("buddyinfo", 0444, NULL, &fragmentation_op); proc_create_seq("buddyinfo", 0444, NULL, &fragmentation_op);
proc_create_seq("pagetypeinfo", 0400, NULL, &pagetypeinfo_op); proc_create_seq("pagetypeinfo", 0444, NULL, &pagetypeinfo_op);
proc_create_seq("vmstat", 0444, NULL, &vmstat_op); proc_create_seq("vmstat", 0444, NULL, &vmstat_op);
proc_create_seq("zoneinfo", 0444, NULL, &zoneinfo_op); proc_create_seq("zoneinfo", 0444, NULL, &zoneinfo_op);
#endif #endif