commit | 5cf6fa37b81c85784c03e4384cc58e9424bc7873 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@google.com> | Mon Jan 22 18:16:31 2024 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Tue Jan 23 21:55:26 2024 +0000 |
tree | fcfa839c955d7bb4b3f9df73df35a096add58f9e | |
parent | 3a3c22c90b003ec2a4d13446fe369888b7dd3619 [diff] |
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: Bart 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