diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-11 12:12:01 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-11 12:12:01 -0700 |
commit | 2015549667fb77706a9879e974a3875ebccd8198 (patch) | |
tree | f21d3e039e9d7743dcd7964b5b79011e64a97a88 /adb | |
parent | e4749f30e5bd8cec727a6d7504b10fc80426316a (diff) | |
download | system_core-2015549667fb77706a9879e974a3875ebccd8198.zip system_core-2015549667fb77706a9879e974a3875ebccd8198.tar.gz system_core-2015549667fb77706a9879e974a3875ebccd8198.tar.bz2 |
auto import from //branches/cupcake/...@137873
Diffstat (limited to 'adb')
-rw-r--r-- | adb/adb.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -872,8 +872,10 @@ int adb_main(int is_daemon) ** AID_INPUT to diagnose input issues (getevent) ** AID_INET to diagnose network issues (netcfg, ping) ** AID_GRAPHICS to access the frame buffer + ** AID_NET_BT and AID_NET_BT_ADMIN to diagnose bluetooth (hcidump) */ - gid_t groups[] = { AID_ADB, AID_LOG, AID_INPUT, AID_INET, AID_GRAPHICS }; + gid_t groups[] = { AID_ADB, AID_LOG, AID_INPUT, AID_INET, AID_GRAPHICS, + AID_NET_BT, AID_NET_BT_ADMIN }; setgroups(sizeof(groups)/sizeof(groups[0]), groups); /* then switch user and group to "shell" */ @@ -1080,4 +1082,3 @@ int main(int argc, char **argv) return adb_main(0); #endif } - |