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

Skip to content
Commit 3610cd98 authored by Ruchi Kandoi's avatar Ruchi Kandoi Committed by Samuel Pascua
Browse files

prctl: adds the capable(CAP_SYS_NICE) check to PR_SET_TIMERSLACK_PID.



Adds a capable() check to make sure that arbitary apps do not change the
timer slack for other apps.

Bug: 15000427
Change-Id: I558a2551a0e3579c7f7e7aae54b28aa9d982b209
Signed-off-by: default avatarRuchi Kandoi <kandoiruchi@google.com>
Signed-off-by: default avatarSamuel Pascua <pascua.samuel.14@gmail.com>
parent 2dd161c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment