Allow bthal to access vendor bluetooth folder am: b4fe0cfb7f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah-sepolicy/+/23905467 Change-Id: I7b71f96d28728223dd13f928a284e5062fa1894a Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
c9bb47e487
6 changed files with 16 additions and 0 deletions
3
cheetah/file.te
Normal file
3
cheetah/file.te
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# BT
|
||||||
|
type vendor_bt_data_file, file_type, data_file_type;
|
||||||
|
|
|
@ -2,3 +2,5 @@
|
||||||
/dev/ttySAC18 u:object_r:hci_attach_dev:s0
|
/dev/ttySAC18 u:object_r:hci_attach_dev:s0
|
||||||
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
||||||
/dev/logbuffer_tty18 u:object_r:logbuffer_device:s0
|
/dev/logbuffer_tty18 u:object_r:logbuffer_device:s0
|
||||||
|
|
||||||
|
/data/vendor/bluetooth(/.*)? u:object_r:vendor_bt_data_file:s0
|
||||||
|
|
3
cheetah/hal_bluetooth_btlinux.te
Normal file
3
cheetah/hal_bluetooth_btlinux.te
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
allow hal_bluetooth_btlinux vendor_bt_data_file:dir rw_dir_perms;
|
||||||
|
allow hal_bluetooth_btlinux vendor_bt_data_file:file create_file_perms;
|
||||||
|
|
3
panther/file.te
Normal file
3
panther/file.te
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# BT
|
||||||
|
type vendor_bt_data_file, file_type, data_file_type;
|
||||||
|
|
|
@ -2,3 +2,5 @@
|
||||||
/dev/ttySAC18 u:object_r:hci_attach_dev:s0
|
/dev/ttySAC18 u:object_r:hci_attach_dev:s0
|
||||||
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
/dev/logbuffer_btlpm u:object_r:logbuffer_device:s0
|
||||||
/dev/logbuffer_tty18 u:object_r:logbuffer_device:s0
|
/dev/logbuffer_tty18 u:object_r:logbuffer_device:s0
|
||||||
|
|
||||||
|
/data/vendor/bluetooth(/.*)? u:object_r:vendor_bt_data_file:s0
|
3
panther/hal_bluetooth_btlinux.te
Normal file
3
panther/hal_bluetooth_btlinux.te
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
allow hal_bluetooth_btlinux vendor_bt_data_file:dir rw_dir_perms;
|
||||||
|
allow hal_bluetooth_btlinux vendor_bt_data_file:file create_file_perms;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue