Merge "Reserve some AIDs for OEMs"

This commit is contained in:
Nick Kralevich 2014-11-10 17:42:57 +00:00 committed by Gerrit Code Review
commit 65a83bdf2e

View file

@ -83,6 +83,11 @@
#define AID_CACHE 2001 /* cache access */ #define AID_CACHE 2001 /* cache access */
#define AID_DIAG 2002 /* access to diagnostic resources */ #define AID_DIAG 2002 /* access to diagnostic resources */
/* The range 2900-2999 is reserved for OEM, and must never be
* used here */
#define AID_OEM_RESERVED_START 2900
#define AID_OEM_RESERVED_END 2999
/* The 3000 series are intended for use as supplemental group id's only. /* The 3000 series are intended for use as supplemental group id's only.
* They indicate special Android capabilities that the kernel is aware of. */ * They indicate special Android capabilities that the kernel is aware of. */
#define AID_NET_BT_ADMIN 3001 /* bluetooth: create any socket */ #define AID_NET_BT_ADMIN 3001 /* bluetooth: create any socket */