forked from rubenslte/android_kernel_samsung_msm8226
proc: uid_cputime: fix show_uid_stat permission
Change-Id: Ice9084e39da599261df0be6dc305b817b50cfbbf Signed-off-by: Jin Qian <jinqian@google.com> Git-commit: ba6f1652e0c153aae45ff3c6259e1c91378b9cfe Git-repo: https://android.googlesource.com/kernel/common/ Signed-off-by: Nirmal Abraham <nabrah@codeaurora.org> Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
This commit is contained in:
@@ -224,7 +224,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);
|
||||
|
||||
Reference in New Issue
Block a user