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

Skip to content
Commit 5cf6fa37 authored by Bart Van Assche's avatar Bart Van Assche Committed by Android Build Coastguard Worker
Browse files

Pass the correct user ID to SetProcessProfilesCached()



SetProcessProfilesCached() can only set cgroup attributes in the v2
cgroup hierarchy if it is passed the correct user ID. Hence this CL.
This CL makes SetProcessProfilesCached() apply IO controller cgroup
attributes for processes with a user ID that is not zero.

Bug: 320456702
Bug: 213617178
Signed-off-by: default avatarBart Van Assche <bvanassche@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:16c09591abe1f982887b05d89e264f69316f383d)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:046510b52692a1967050803c28b1bf7d2b61351f)
Merged-In: I84d072c14ff01422560c241a69cb9f4e02c47e74
Change-Id: I84d072c14ff01422560c241a69cb9f4e02c47e74
parent 3a3c22c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment