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

Commit 851c9c82 authored by David Dai's avatar David Dai
Browse files

Add AID for Virtual Machines



Add a new AID for Virtual Machines so we can grant
capabilities such as CAP_SYS_NICE.

Bug: 322197421
Test: Build and boots, and verified capabilities

Change-Id: Ie893ba8ed6956a554bccfbd00e4e6fe9212ea77d
Signed-off-by: default avatarDavid Dai <davidai@google.com>
parent 7833f27c
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -170,6 +170,7 @@
#define AID_WAKELOCK 3010     /* Allow system wakelock read/write access */
#define AID_WAKELOCK 3010     /* Allow system wakelock read/write access */
#define AID_UHID 3011         /* Allow read/write to /dev/uhid node */
#define AID_UHID 3011         /* Allow read/write to /dev/uhid node */
#define AID_READTRACEFS 3012  /* Allow tracefs read */
#define AID_READTRACEFS 3012  /* Allow tracefs read */
#define AID_VIRTUALMACHINE 3013 /* Allows VMs to tune for performance*/


/* The range 5000-5999 is also reserved for vendor partition. */
/* The range 5000-5999 is also reserved for vendor partition. */
#define AID_OEM_RESERVED_2_START 5000
#define AID_OEM_RESERVED_2_START 5000