exec: Extend task_is_booster check to cover OxygenOS userspace HALs
Subsequent to 2e20671 ("exec: Add node tampering blacklist function")
This device utilizes vendor.qti.hardware.perf@2.0-service, and
android.hardware.power@1.2-service respectively.
Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
This commit is contained in:
committed by
UtsavBalar1231
parent
ce392dfd95
commit
9e18f0f556
@@ -154,8 +154,10 @@ static inline bool task_is_booster(struct task_struct *tsk)
|
||||
|
||||
get_task_comm(comm, tsk);
|
||||
return !strcmp(comm, "init") || !strcmp(comm, "NodeLooperThrea") ||
|
||||
!strcmp(comm, "power@1.2-servi") ||
|
||||
!strcmp(comm, "power@1.3-servi") ||
|
||||
!strcmp(comm, "perf@1.0-servic") ||
|
||||
!strcmp(comm, "perf@2.0-servic") ||
|
||||
!strcmp(comm, "init.qcom.post_");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user