projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dca785
)
proc: uid_cputime: fix show_uid_stat permission
author
Jin Qian
<jinqian@google.com>
Tue, 12 May 2015 00:57:52 +0000
(17:57 -0700)
committer
John Stultz
<john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:52 +0000
(13:53 -0800)
Change-Id: Ice9084e39da599261df0be6dc305b817b50cfbbf
Signed-off-by: Jin Qian <jinqian@google.com>
drivers/misc/uid_cputime.c
patch
|
blob
|
history
diff --git
a/drivers/misc/uid_cputime.c
b/drivers/misc/uid_cputime.c
index acd7046ce497692887d0aa0ea6c336f37fd0a5cc..c3f5bda9241d37649011ceeebeb9be7b5e4720c6 100644
(file)
--- 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_I
W
UGO, parent, &uid_stat_fops,
+ proc_create_data("show_uid_stat", S_I
R
UGO, parent, &uid_stat_fops,
NULL);
profile_event_register(PROFILE_TASK_EXIT, &process_notifier_block);