summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.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 17:25:36 +0000
commitb1a06182548d11427d08f21077b70c588c8c0633 (patch)
treeaf181bd1e49630e784e04854eae7a43419b2cc44 /libs/androidfw/FileStream.cpp
parent5fbc86ca8c4f085692a6341a53b1b68924cf0498 (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 Signed-off-by: David Dai <davidai@google.com>
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions