From de6408e0361ab5ac2b8212e9fc9af186944b0d20 Mon Sep 17 00:00:00 2001 From: Zhenhua Huang Date: Mon, 14 Oct 2019 19:35:19 +0800 Subject: [PATCH] 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 --- fs/proc/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/base.c b/fs/proc/base.c index fdc8e819015e..14e3e44bf3a3 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -3238,7 +3238,7 @@ static const struct pid_entry tgid_base_stuff[] = { REG("mountinfo", S_IRUGO, proc_mountinfo_operations), REG("mountstats", S_IRUSR, proc_mountstats_operations), #ifdef CONFIG_PROCESS_RECLAIM - REG("reclaim", 0200, proc_reclaim_operations), + REG("reclaim", 0222, proc_reclaim_operations), #endif #ifdef CONFIG_PROC_PAGE_MONITOR REG("clear_refs", S_IWUSR, proc_clear_refs_operations),