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

Commit 11775467 authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

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.

CRs-Fixed: 984456
Change-Id: I92e6fd3ca693387aeb0664cc75afde06f75d4a9f
Signed-off-by: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent d008caa2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2760,7 +2760,7 @@ static const struct pid_entry tgid_base_stuff[] = {
#ifdef CONFIG_SCHED_HMP
	REG("sched_init_task_load",      S_IRUGO|S_IWUSR, proc_pid_sched_init_task_load_operations),
#ifndef CONFIG_SCHED_QHMP
	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
#endif
#ifdef CONFIG_SCHED_DEBUG