summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Lucangeli Obes2015-07-31 15:52:19 -0500
committerJorge Lucangeli Obes2015-07-31 16:13:49 -0500
commitb93b9d4867c66879af434869de7e84e736178c5a (patch)
treeed3e6f148fa462f881271bfcae422125e5f9ae3e /include/private
parentcf4dba5ab315493531fff5a4867698a3659b0526 (diff)
downloadplatform-system-core-b93b9d4867c66879af434869de7e84e736178c5a.tar.gz
platform-system-core-b93b9d4867c66879af434869de7e84e736178c5a.tar.xz
platform-system-core-b93b9d4867c66879af434869de7e84e736178c5a.zip
Reserve new UID range for OEM.
Brillo will need to run new native system services, so reserve a reasonable UID range to accomodate them. Having 1000 UIDs will allow us to sub-partition this range if needed. The range can be used by any OEM, not just Brillo, so name it accordingly. Bug: 22555869 Change-Id: I752428ee5025bf064a35ecbe6da50c041d87b724
Diffstat (limited to 'include/private')
-rw-r--r--include/private/android_filesystem_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
index 9046fbe65..7047e0feb 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -99,6 +99,10 @@
99#define AID_NET_BW_ACCT 3007 /* change bandwidth statistics accounting */ 99#define AID_NET_BW_ACCT 3007 /* change bandwidth statistics accounting */
100#define AID_NET_BT_STACK 3008 /* bluetooth: access config files */ 100#define AID_NET_BT_STACK 3008 /* bluetooth: access config files */
101 101
102/* The range 5000-5999 is also reserved for OEM, and must never be used here. */
103#define AID_OEM_RESERVED_2_START 5000
104#define AID_OEM_RESERVED_2_END 5999
105
102#define AID_EVERYBODY 9997 /* shared between all apps in the same profile */ 106#define AID_EVERYBODY 9997 /* shared between all apps in the same profile */
103#define AID_MISC 9998 /* access to misc storage */ 107#define AID_MISC 9998 /* access to misc storage */
104#define AID_NOBODY 9999 108#define AID_NOBODY 9999