Grant SYS_NICE for CompOS
Grant sys_nice capabilities to CompOS so that it can spawn
VMs with sys_nice enabled.
Bug: 322197421
Test: builds
Change-Id: I4507a54f87844f154dc118a2f6778389554b7f53
Signed-off-by: David Dai <davidai@google.com>
diff --git a/compos/apex/composd.rc b/compos/apex/composd.rc
index df04642..aa4b575 100644
--- a/compos/apex/composd.rc
+++ b/compos/apex/composd.rc
@@ -25,4 +25,4 @@
# inheriting all the capabilities from init is not a security issue.
# However, for defense-in-depth and just for the sake of bookkeeping it's
# better to explicitly state that composd doesn't need any capabilities.
- capabilities
+ capabilities SYS_NICE