summaryrefslogtreecommitdiff
path: root/vendor/hal_bluetooth_btlinux.te
blob: b2a7529c636a9db9bb261b08d8ff8b5bf28911a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Allow access to always-on compute device node
allow hal_bluetooth_btlinux aoc_device:chr_file rw_file_perms;
allow hal_bluetooth_btlinux device:dir r_dir_perms;

allow hal_bluetooth_btlinux vendor_bt_data_file:dir rw_dir_perms;
allow hal_bluetooth_btlinux vendor_bt_data_file:file create_file_perms;

# Allow triggering uart skip suspend
allow hal_bluetooth_btlinux sysfs_bt_uart:file rw_file_perms;

# allow the HAL to call cccdktimesync registered callbacks
binder_call(hal_bluetooth_btlinux, vendor_cccdktimesync_app)