From 6e1f21584f43311f35ae7f6a4737c6a7e846083a Mon Sep 17 00:00:00 2001 From: San Mehat Date: Thu, 23 Apr 2009 09:15:08 -0700 Subject: [PATCH] filesystem: Add new group 'sdcard_rw' for restricting sd card write access Signed-off-by: San Mehat --- include/private/android_filesystem_config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h index c8551872a..a47f2e4ad 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, },