Commit e1b8ef44 authored by Suren Baghdasaryan's avatar Suren Baghdasaryan
Browse files

ANDROID: Revert "psi: allow unprivileged users with CAP_SYS_RESOURCE to write psi files"



This reverts commit 6db12ee0.

In Android, system_server registers psi trigger to detect memory
pressure. This commit requires processes registering new triggers to
have CAP_SYS_RESOURCE capability, which system_server does not have.
Reverting this change until a solution can be found to fix the breakage
of functionality in Android T using 5.15 kernels.

Bug: 243781242
Bug: 244148051
Reported-by: default avatarliuhailong <liuhailong@oppo.com>
Signed-off-by: default avatarSuren Baghdasaryan <surenb@google.com>
Change-Id: If6c8580af8734f3b765d48c782a536aad357e6f0
parent c9ee3618
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment