commit | 3c412a228533ff5188a597b9737d977cb95a078e | [log] [tgz] |
---|---|---|
author | Mikhail Naganov <mnaganov@google.com> | Thu Mar 18 17:57:47 2021 -0700 |
committer | Mikhail Naganov <mnaganov@google.com> | Thu Mar 18 17:57:47 2021 -0700 |
tree | 559c1ace5179cff4ee8e4ba3413f6a1b853992ec | |
parent | fa304e1f71854ab7eca9ece1806acbc52b9d869d [diff] |
SchedulingPolicyService: add extra check for the target UID When audio HAL is asking to boost priority of its I/O thread it passes TID to the audio service. To reduce the chance of boosting priority of a wrong thread due to PID wrapping, ensure that the target thread belongs to the right UID. Bug: 181148259 Test: manual validation of thread priorities Change-Id: I73dc30492b292bede95e6fc38f318ef966f417ca