diff options
author | Jin Qian <jinqian@google.com> | 2015-05-11 17:57:52 -0700 |
---|---|---|
committer | rogersb11 <brettrogers11@gmail.com> | 2015-12-02 12:27:57 -0500 |
commit | caeb5f22c00261ebbc49093473defc6a60c1b1af (patch) | |
tree | 70f62e7f2df33d3195e12d97a28b1e7b6807ff31 | |
parent | c3fc2581d22148f67d89e9007bd05e1fc22a5e21 (diff) | |
download | kernel_samsung_smdk4412-caeb5f22c00261ebbc49093473defc6a60c1b1af.zip kernel_samsung_smdk4412-caeb5f22c00261ebbc49093473defc6a60c1b1af.tar.gz kernel_samsung_smdk4412-caeb5f22c00261ebbc49093473defc6a60c1b1af.tar.bz2 |
proc: uid_cputime: fix show_uid_stat permission
Change-Id: I0fb7ff1864f16c573cf09acd2c773369e8c9ced7
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 87c8ddd..1bcb6d1 100644 --- a/drivers/misc/uid_cputime.c +++ b/drivers/misc/uid_cputime.c @@ -227,7 +227,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); |