You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
837 B
17 lines
837 B
4 months ago
|
allow hal_bluetooth_default sysfs:file { write };
|
||
|
allow hal_bluetooth_default ttyAMA2_device:chr_file { read write open ioctl };
|
||
|
allow hal_bluetooth_default rtk_bt_device:chr_file { read write open ioctl };
|
||
|
# Socket creation under /data/misc/bluedroid.
|
||
|
type_transition hal_bluetooth_default bluetooth_data_file:sock_file bluetooth_socket;
|
||
|
|
||
|
# Allow access to net_admin ioctls
|
||
|
allowxperm hal_bluetooth_default self:udp_socket ioctl priv_sock_ioctls;
|
||
|
|
||
|
#allow hal_bluetooth_default bluetooth_data_file:dir create_dir_perms;
|
||
|
#allow hal_bluetooth_default bluetooth_data_file:file create_file_perms;
|
||
|
#allow hal_bluetooth_default rtk_bt_device:chr_file rw_file_perms;
|
||
|
|
||
|
# Socket creation under /data/misc/bluedroid.
|
||
|
#allow hal_bluetooth_default bluetooth_socket:sock_file create_file_perms;
|
||
|
allow hal_bluetooth_default self:capability net_admin;
|