summaryrefslogtreecommitdiff
path: root/include/private/android_filesystem_config.h
diff options
context:
space:
mode:
authorJohan Redestig <johan.redestig@sonymobile.com>2014-11-07 09:21:13 +0100
committerJohan Redestig <johan.redestig@sonymobile.com>2014-11-10 08:14:21 +0100
commit60ac6364ec5c0432701d5e01aa7c507019769f9c (patch)
tree13111b827d6b494e4efe185306f40d2bcf848734 /include/private/android_filesystem_config.h
parent2655256570b7c1c5af6d886735835eecb99f45f2 (diff)
Reserve some AIDs for OEMs
OEMs frequently add some AIDs on their own. Reserve some range for them to use. Change-Id: I3c729c889c9bd3e105ae4f6fb0c04a42a10eb25c
Diffstat (limited to 'include/private/android_filesystem_config.h')
-rw-r--r--include/private/android_filesystem_config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
index 5d9c3ea72..b2f91a521 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -83,6 +83,11 @@
#define AID_CACHE 2001 /* cache access */
#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.
* They indicate special Android capabilities that the kernel is aware of. */
#define AID_NET_BT_ADMIN 3001 /* bluetooth: create any socket */