diff options
author | Mike Lockwood <lockwood@android.com> | 2010-05-06 13:30:09 -0400 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2010-05-16 16:04:51 -0400 |
commit | 93ac1559b8c7ad3125ddcd896082b030faadbbd4 (patch) | |
tree | e423dbf1d956d181d1b6c1cd608793cfd84d5171 /include/private | |
parent | 80bdda42359bf38ef0c1a10205c2031a902c48ea (diff) | |
download | system_core-93ac1559b8c7ad3125ddcd896082b030faadbbd4.zip system_core-93ac1559b8c7ad3125ddcd896082b030faadbbd4.tar.gz system_core-93ac1559b8c7ad3125ddcd896082b030faadbbd4.tar.bz2 |
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/private')
-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 24b7c81..535f98c 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, }, |