diff options
author | Jin Qian <jinqian@google.com> | 2015-05-11 17:57:52 -0700 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-09-27 02:50:40 +0200 |
commit | 6fb2f2a9827c08cd09289f7d0afe82c2f7fa27b9 (patch) | |
tree | 9f9b3d163a88c8c1d4a1cdee1a0e39a6f796dfa4 | |
parent | 6ceb62d16e3ee285bccb7e355596e508639bd2f9 (diff) | |
download | kernel_i9300_mainline-6fb2f2a9827c08cd09289f7d0afe82c2f7fa27b9.zip kernel_i9300_mainline-6fb2f2a9827c08cd09289f7d0afe82c2f7fa27b9.tar.gz kernel_i9300_mainline-6fb2f2a9827c08cd09289f7d0afe82c2f7fa27b9.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/uid_cputime.c b/drivers/misc/uid_cputime.c index acd7046..c3f5bda 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); |