aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2011-11-09 19:01:08 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2011-11-09 19:01:08 +0000
commitcc77ff73c64c945705158b374209d7d69c433d16 (patch)
tree7883542bcc1e3b1dab376b950497a5796b51addd
parent61fb22cdce63a37111d045d7d47638ceb0383991 (diff)
parent61b90bd211021886049f72cb666a5b49b83b3c64 (diff)
downloadsystem_core-cc77ff73c64c945705158b374209d7d69c433d16.tar.gz
system_core-cc77ff73c64c945705158b374209d7d69c433d16.tar.bz2
system_core-cc77ff73c64c945705158b374209d7d69c433d16.zip
am 61b90bd2: adb: grant it AID_NET_BW_STATS for full /proc/net/xt_qtaguid/stats
* commit '61b90bd211021886049f72cb666a5b49b83b3c64': adb: grant it AID_NET_BW_STATS for full /proc/net/xt_qtaguid/stats
-rw-r--r--adb/adb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/adb/adb.c b/adb/adb.c
index a91004c3..e35c3342 100644
--- a/adb/adb.c
+++ b/adb/adb.c
@@ -907,9 +907,11 @@ int adb_main(int is_daemon, int server_port)
** AID_NET_BT and AID_NET_BT_ADMIN to diagnose bluetooth (hcidump)
** AID_SDCARD_RW to allow writing to the SD card
** AID_MOUNT to allow unmounting the SD card before rebooting
+ ** AID_NET_BW_STATS to read out qtaguid statistics
*/
gid_t groups[] = { AID_ADB, AID_LOG, AID_INPUT, AID_INET, AID_GRAPHICS,
- AID_NET_BT, AID_NET_BT_ADMIN, AID_SDCARD_RW, AID_MOUNT };
+ AID_NET_BT, AID_NET_BT_ADMIN, AID_SDCARD_RW, AID_MOUNT,
+ AID_NET_BW_STATS };
if (setgroups(sizeof(groups)/sizeof(groups[0]), groups) != 0) {
exit(1);
}