Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9d901e05 authored by Jin Qian's avatar Jin Qian
Browse files

proc: uid_cputime: fix show_uid_stat permission



Change-Id: Ice9084e39da599261df0be6dc305b817b50cfbbf
Signed-off-by: default avatarJin Qian <jinqian@google.com>
parent 7ccfbece
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);