summaryrefslogtreecommitdiff
path: root/native/android/input.cpp
diff options
context:
space:
mode:
author David Dai <davidai@google.com> 2024-02-01 13:46:12 -0800
committer David Dai <davidai@google.com> 2024-02-06 20:56:50 +0000
commitf513c74fb56dde0f7f05397904b3bcc251cc850d (patch)
treee3a7be5c9c8514ae138723321187bbd9d35d000f /native/android/input.cpp
parent62fb6bf5ab9cffd12161094e3b443d51452e81f9 (diff)
Permit CAP_SYS_NICE for virtualmachine groups
Grant CAP_SYS_NICE to CapInh/CapPrm/CapBnd for processes that can spawn VMs. This enables processes to execve on binaries with elevated capabilities if its file capability bits are set. This does not grant capability to the parent process(that spawns the VM) as the effective bits are not set. This allows for VMs to be able to tune for better performance. Bug: 322197421 Test: Booted device and processes and checked that the correct capabilities are given. Change-Id: I9ba974495383494d24a564c66249c78176eebca9 Merged-In: I9ba974495383494d24a564c66249c78176eebca9 Merged-In: I8cc08506fa6af831fdc607246df11e06fead9f1c Signed-off-by: David Dai <davidai@google.com>
Diffstat (limited to 'native/android/input.cpp')
0 files changed, 0 insertions, 0 deletions