Remove net_bt_stack group and replace it with bluetooth
Bug: 31549206 Change-Id: I667963e5f9fd1a5dc9ad74378b318e3b782e6883
This commit is contained in:
parent
91811d2d34
commit
604208e957
3 changed files with 6 additions and 8 deletions
|
@ -115,7 +115,6 @@
|
|||
#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_READPROC 3009 /* Allow /proc read access */
|
||||
#define AID_WAKELOCK 3010 /* Allow system wakelock read/write access */
|
||||
|
||||
|
@ -221,7 +220,6 @@ static const struct android_id_info android_ids[] = {
|
|||
{ "net_admin", AID_NET_ADMIN, },
|
||||
{ "net_bw_stats", AID_NET_BW_STATS, },
|
||||
{ "net_bw_acct", AID_NET_BW_ACCT, },
|
||||
{ "net_bt_stack", AID_NET_BT_STACK, },
|
||||
{ "readproc", AID_READPROC, },
|
||||
{ "wakelock", AID_WAKELOCK, },
|
||||
|
||||
|
|
|
@ -355,12 +355,12 @@ on post-fs-data
|
|||
|
||||
# create basic filesystem structure
|
||||
mkdir /data/misc 01771 system misc
|
||||
mkdir /data/misc/bluedroid 02770 bluetooth net_bt_stack
|
||||
mkdir /data/misc/bluedroid 02770 bluetooth bluetooth
|
||||
# Fix the access permissions and group ownership for 'bt_config.conf'
|
||||
chmod 0660 /data/misc/bluedroid/bt_config.conf
|
||||
chown bluetooth net_bt_stack /data/misc/bluedroid/bt_config.conf
|
||||
mkdir /data/misc/bluetooth 0770 bluetooth net_bt_stack
|
||||
mkdir /data/misc/bluetooth/logs 0770 bluetooth net_bt_stack
|
||||
chown bluetooth bluetooth /data/misc/bluedroid/bt_config.conf
|
||||
mkdir /data/misc/bluetooth 0770 bluetooth bluetooth
|
||||
mkdir /data/misc/bluetooth/logs 0770 bluetooth bluetooth
|
||||
mkdir /data/misc/keystore 0700 keystore keystore
|
||||
mkdir /data/misc/gatekeeper 0700 system system
|
||||
mkdir /data/misc/keychain 0771 system system
|
||||
|
|
|
@ -40,8 +40,8 @@ subsystem adf
|
|||
/dev/android_adb 0660 adb adb
|
||||
/dev/android_adb_enable 0660 adb adb
|
||||
/dev/ttyMSM0 0600 bluetooth bluetooth
|
||||
/dev/uhid 0660 system net_bt_stack
|
||||
/dev/uinput 0660 system net_bt_stack
|
||||
/dev/uhid 0660 system bluetooth
|
||||
/dev/uinput 0660 system bluetooth
|
||||
/dev/alarm 0664 system radio
|
||||
/dev/rtc0 0640 system system
|
||||
/dev/tty0 0660 root system
|
||||
|
|
Loading…
Reference in a new issue