diff options
author | Mike Lockwood <lockwood@android.com> | 2010-05-06 13:30:09 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2010-05-06 13:40:51 -0400 |
commit | b717dc85d8aca2431a553ca0e1b3438d1d8e2072 (patch) | |
tree | d470d9a0632d00f2c9e8c195cf820727541d2005 /include | |
parent | ba8a2d7a37649cb92ae7ff97ea9c3f2499df128a (diff) | |
download | system_core-b717dc85d8aca2431a553ca0e1b3438d1d8e2072.tar.gz system_core-b717dc85d8aca2431a553ca0e1b3438d1d8e2072.tar.bz2 system_core-b717dc85d8aca2431a553ca0e1b3438d1d8e2072.zip |
init: Add support for /dev/bus/usb/ file system and add new unix group AID_USB.
init now creates files in /dev/bus/usb/ for user access to USB devices.
Files are chmod 660 with group AID_USB.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/private/android_filesystem_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h index 474cfacb0..1dbe17115 100644 --- a/include/private/android_filesystem_config.h +++ b/include/private/android_filesystem_config.h @@ -51,6 +51,7 @@ #define AID_SDCARD_RW 1015 /* external storage write access */ #define AID_VPN 1016 /* vpn system */ #define AID_KEYSTORE 1017 /* keystore subsystem */ +#define AID_USB 1018 /* USB devices */ #define AID_SHELL 2000 /* adb and debug shell user */ #define AID_CACHE 2001 /* cache access */ @@ -100,6 +101,7 @@ static struct android_id_info android_ids[] = { { "sdcard_rw", AID_SDCARD_RW, }, { "vpn", AID_VPN, }, { "keystore", AID_KEYSTORE, }, + { "usb", AID_USB, }, { "inet", AID_INET, }, { "net_raw", AID_NET_RAW, }, { "net_admin", AID_NET_ADMIN, }, |