summaryrefslogtreecommitdiffstats
path: root/adb
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-11 12:12:01 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-11 12:12:01 -0700
commit2015549667fb77706a9879e974a3875ebccd8198 (patch)
treef21d3e039e9d7743dcd7964b5b79011e64a97a88 /adb
parente4749f30e5bd8cec727a6d7504b10fc80426316a (diff)
downloadsystem_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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/adb/adb.c b/adb/adb.c
index fa5269f..7b23894 100644
--- a/adb/adb.c
+++ b/adb/adb.c
@@ -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
}
-