aboutsummaryrefslogtreecommitdiffstats
path: root/include/private
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2010-10-29 10:55:54 -0400
committerMike Lockwood <lockwood@android.com>2010-10-29 10:55:54 -0400
commit2e0047bdc067006d1e38418b2a0e24612d8068ba (patch)
tree320e46e4e90ae05b84033152748b3ce6f17fa71f /include/private
parent4640fc0504ec69446b00dfb7ffcca48b085bf916 (diff)
downloadsystem_core-2e0047bdc067006d1e38418b2a0e24612d8068ba.tar.gz
system_core-2e0047bdc067006d1e38418b2a0e24612d8068ba.tar.bz2
system_core-2e0047bdc067006d1e38418b2a0e24612d8068ba.zip
Add new AID_MEDIA_RW group to control write access to /data/media
BUG: 3113970 Change-Id: I233bd57e36d1e65847ead503e378304a958f492d Signed-off-by: Mike Lockwood <lockwood@android.com>
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 f6e646a0..87eaf091 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -56,6 +56,7 @@
#define AID_DRMIO 1020 /* DRM IO server */
#define AID_GPS 1021 /* GPS daemon */
#define AID_NFC 1022 /* nfc subsystem */
+#define AID_MEDIA_RW 1023 /* internal media storage write access */
#define AID_SHELL 2000 /* adb and debug shell user */
#define AID_CACHE 2001 /* cache access */
@@ -106,6 +107,7 @@ static const struct android_id_info android_ids[] = {
{ "net_bt_admin", AID_NET_BT_ADMIN, },
{ "net_bt", AID_NET_BT, },
{ "sdcard_rw", AID_SDCARD_RW, },
+ { "media_rw", AID_MEDIA_RW, },
{ "vpn", AID_VPN, },
{ "keystore", AID_KEYSTORE, },
{ "usb", AID_USB, },