diff options
| author | Pavankumar Kondeti <pkondeti@codeaurora.org> | 2016-03-11 12:33:40 +0530 |
|---|---|---|
| committer | Syed Rameez Mustafa <rameezmustafa@codeaurora.org> | 2016-08-22 14:06:35 -0700 |
| commit | 51e9d516fa1da9b9221e28349923a6c1d641e8a4 (patch) | |
| tree | 628db6be5990eabc414e49cc136927bf13ea48cf /fs | |
| parent | fbc251af5ad5b14d1a782575833be7c7a77fde16 (diff) | |
proc: relax write permissions of sched_group_id file
Related tasks are grouped together based on their sched_group_id.
The userspace implementation requires world write permissions to
this /proc/<PID>/sched_group_id file.
Change-Id: I92e6fd3ca693387aeb0664cc75afde06f75d4a9f
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Diffstat (limited to 'fs')
| -rw-r--r-- | fs/proc/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index 5120d772d9d6..de2dcc1d1167 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -2947,7 +2947,7 @@ static const struct pid_entry tgid_base_stuff[] = { #endif #ifdef CONFIG_SCHED_HMP REG("sched_init_task_load", S_IRUGO|S_IWUSR, proc_pid_sched_init_task_load_operations), - REG("sched_group_id", S_IRUGO|S_IWUSR, proc_pid_sched_group_id_operations), + REG("sched_group_id", S_IRUGO|S_IWUGO, proc_pid_sched_group_id_operations), #endif #ifdef CONFIG_SCHED_DEBUG REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations), |
