aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJin Qian <jinqian@google.com>2015-05-11 17:57:52 -0700
committerZhang Sanshan <b51434@freescale.com>2015-11-10 15:49:38 +0800
commitf6613905110827f71a2f55f1b1d0f1f71560023d (patch)
treea36e73458a030e70a59976037b6daf824ab1d56d
parent8001006490279b9b01858f480c5f7f59562438dd (diff)
downloadfreescale-f6613905110827f71a2f55f1b1d0f1f71560023d.tar.gz
MA-7240-3 KernelUidCpuTimeReader exception in mm6.0 Fix the uid permission error.
proc: uid_cputime: fix show_uid_stat permission Change-Id: Ice9084e39da599261df0be6dc305b817b50cfbbf Signed-off-by: Jin Qian <jinqian@google.com>
-rw-r--r--drivers/misc/uid_cputime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/uid_cputime.c b/drivers/misc/uid_cputime.c
index acd7046ce49..c3f5bda9241 100644
--- a/drivers/misc/uid_cputime.c
+++ b/drivers/misc/uid_cputime.c
@@ -226,7 +226,7 @@ static int __init proc_uid_cputime_init(void)
proc_create_data("remove_uid_range", S_IWUGO, parent, &uid_remove_fops,
NULL);
- proc_create_data("show_uid_stat", S_IWUGO, parent, &uid_stat_fops,
+ proc_create_data("show_uid_stat", S_IRUGO, parent, &uid_stat_fops,
NULL);
profile_event_register(PROFILE_TASK_EXIT, &process_notifier_block);