diff options
author | Matthew Xie <mattx@google.com> | 2012-10-04 12:35:27 -0700 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-10-04 12:38:51 -0700 |
commit | 971153aa4a65c4fbc8d916c619a17d3912b2cb02 (patch) | |
tree | 3b5a96dbd674aea712598d0b6b37c328e13160fb | |
parent | bc930eda3985cf50bb568aeb098cd0585d0c0ce0 (diff) | |
download | system_core-971153aa4a65c4fbc8d916c619a17d3912b2cb02.zip system_core-971153aa4a65c4fbc8d916c619a17d3912b2cb02.tar.gz system_core-971153aa4a65c4fbc8d916c619a17d3912b2cb02.tar.bz2 |
Create bluetooth stack aid for sharing gid between all bluetooth processes
bug 6925422
Change-Id: I8d371f8307dd6bea3909a56643819413ea829a98
-rw-r--r-- | include/private/android_filesystem_config.h | 2 | ||||
-rw-r--r-- | rootdir/init.rc | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h index 8f4956c..7e34da8 100644 --- a/include/private/android_filesystem_config.h +++ b/include/private/android_filesystem_config.h @@ -76,6 +76,7 @@ #define AID_NET_ADMIN 3005 /* can configure interfaces and routing tables. */ #define AID_NET_BW_STATS 3006 /* read bandwidth statistics */ #define AID_NET_BW_ACCT 3007 /* change bandwidth statistics accounting */ +#define AID_NET_BT_STACK 3008 /* bluetooth: access config files */ #define AID_MISC 9998 /* access to misc storage */ #define AID_NOBODY 9999 @@ -122,6 +123,7 @@ static const struct android_id_info android_ids[] = { { "diag", AID_DIAG, }, { "net_bt_admin", AID_NET_BT_ADMIN, }, { "net_bt", AID_NET_BT, }, + { "net_bt_stack", AID_NET_BT_STACK, }, { "sdcard_r", AID_SDCARD_R, }, { "sdcard_rw", AID_SDCARD_RW, }, { "media_rw", AID_MEDIA_RW, }, diff --git a/rootdir/init.rc b/rootdir/init.rc index e9abadd..106cae5 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -195,7 +195,7 @@ on post-fs-data # create basic filesystem structure mkdir /data/misc 01771 system misc mkdir /data/misc/adb 02750 system shell - mkdir /data/misc/bluedroid 0770 bluetooth bluetooth + mkdir /data/misc/bluedroid 0770 bluetooth net_bt_stack mkdir /data/misc/bluetooth 0770 system system mkdir /data/misc/keystore 0700 keystore keystore mkdir /data/misc/keychain 0771 system system |