proc: update perms of node "reclaim"
Other userspace apps like AppCOmpaction would like to use this node,
so update permissions.
Change-Id: Ic3e2b0ca4e75e4ae6fd610f67ec3308e17de2e09
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
diff --git a/fs/proc/base.c b/fs/proc/base.c
index 509b189..bfff3b5 100644
--- a/fs/proc/base.c
+++ b/fs/proc/base.c
@@ -3175,7 +3175,7 @@
REG("mountinfo", S_IRUGO, proc_mountinfo_operations),
REG("mountstats", S_IRUSR, proc_mountstats_operations),
#ifdef CONFIG_PROCESS_RECLAIM
- REG("reclaim", S_IWUSR, proc_reclaim_operations),
+ REG("reclaim", 0222, proc_reclaim_operations),
#endif
#ifdef CONFIG_PROC_PAGE_MONITOR
REG("clear_refs", S_IWUSR, proc_clear_refs_operations),