summaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorRobin Lee <rgl@google.com>2014-04-25 15:16:02 +0100
committerRobin Lee <rgl@google.com>2014-04-29 12:46:04 +0100
commitb3ef03951cecf4515d0cba759fb1b94c34111adc (patch)
treec410e76bbaa17042b1cbb7d2bf97cc8fe62697a5 /include/private
parent72031ab8780ddbdfad84ea4a02ba7fe87566ee50 (diff)
downloadsystem_core-b3ef03951cecf4515d0cba759fb1b94c34111adc.zip
system_core-b3ef03951cecf4515d0cba759fb1b94c34111adc.tar.gz
system_core-b3ef03951cecf4515d0cba759fb1b94c34111adc.tar.bz2
Add new AID shared by all apps in a profile
Automatically assigned as a GID to all apps running under the same Android profile. Used for exposing to or sharing files with apps running in a specific profile. Analogous to AID_SHARED_GID only the sharing is between processes with the same userId rather than with the same appId. The name to be displayed for uids/gids with this AID is 'u*_everyone'. Change-Id: I46efb749f74cb86868c5609a0ce1a6aab2f9e9c9
Diffstat (limited to 'include/private')
-rw-r--r--include/private/android_filesystem_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
index d662107..61a7243 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -93,6 +93,7 @@
#define AID_NET_BW_ACCT 3007 /* change bandwidth statistics accounting */
#define AID_NET_BT_STACK 3008 /* bluetooth: access config files */
+#define AID_EVERYBODY 9997 /* shared between all apps in the same profile */
#define AID_MISC 9998 /* access to misc storage */
#define AID_NOBODY 9999
@@ -167,6 +168,7 @@ static const struct android_id_info android_ids[] = {
{ "net_bw_acct", AID_NET_BW_ACCT, },
{ "net_bt_stack", AID_NET_BT_STACK, },
+ { "everybody", AID_EVERYBODY, },
{ "misc", AID_MISC, },
{ "nobody", AID_NOBODY, },
};