summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-04-23 11:45:13 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-04-23 11:45:13 -0700
commit6181f70bd40fd020661841923e725df75a3a2793 (patch)
tree4b1a4be22bcb9d802fddb95397d0b24354e71e24
parentca983f98badd6b19c1a4475642cd3b370d953767 (diff)
parent6e1f21584f43311f35ae7f6a4737c6a7e846083a (diff)
downloadsystem_core-6181f70bd40fd020661841923e725df75a3a2793.zip
system_core-6181f70bd40fd020661841923e725df75a3a2793.tar.gz
system_core-6181f70bd40fd020661841923e725df75a3a2793.tar.bz2
Merge change 484 into donut
* changes: filesystem: Add new group 'sdcard_rw' for restricting sd card write access
-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 c855187..a47f2e4 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -48,6 +48,7 @@
#define AID_INSTALL 1012 /* group for installing packages */
#define AID_MEDIA 1013 /* mediaserver process */
#define AID_DHCP 1014 /* dhcp client */
+#define AID_SDCARD_RW 1015 /* external storage write access */
#define AID_SHELL 2000 /* adb and debug shell user */
#define AID_CACHE 2001 /* cache access */
@@ -93,6 +94,7 @@ static struct android_id_info android_ids[] = {
{ "diag", AID_DIAG, },
{ "net_bt_admin", AID_NET_BT_ADMIN, },
{ "net_bt", AID_NET_BT, },
+ { "sdcard_rw", AID_SDCARD_RW, },
{ "inet", AID_INET, },
{ "net_raw", AID_NET_RAW, },
{ "misc", AID_MISC, },