bluetooth.te 1.4 KB

123456789101112131415161718192021222324252627
  1. allow bluetooth hal_audio:binder { call transfer };
  2. allow bluetooth hal_audio:fd *;
  3. allow bluetooth sysfs_bluetooth_writable:file w_file_perms;
  4. allow bluetooth media_rw_data_file:dir create_dir_perms;
  5. allow bluetooth media_rw_data_file:file create_file_perms;
  6. allow bluetooth serial_device:chr_file rw_file_perms;
  7. allow bluetooth uhid_device:chr_file rw_file_perms;
  8. allow bluetooth vendor_bt_device:chr_file rw_file_perms;
  9. allow bluetooth vendor_smd_device:chr_file rw_file_perms;
  10. allow bluetooth vendor_hal_iop_hwservice:hwservice_manager find;
  11. allow bluetooth vendor_default_prop:file { getattr map };
  12. allow bluetooth vendor_bt_data_file:dir search;
  13. allow bluetooth vendor_bt_data_file:file { getattr open read };
  14. allow bluetooth system_app_data_file:dir getattr;
  15. allow bluetooth system_app_data_file:file { getattr open read };
  16. allow bluetooth self:socket { create getopt read write };
  17. #allow bluetooth self:socket ioctl;
  18. allow bluetooth servicemanager:fd *;
  19. allow bluetooth system_app:binder { call transfer };
  20. allow bluetooth system_app:fd *;
  21. allow bluetooth vendor_dun_service:service_manager find;
  22. allow bluetooth hal_audio_hwservice:hwservice_manager find;
  23. #allowxperm bluetooth self:ioctl socket ((range 0xc300 0xc305));
  24. dontaudit bluetooth netd_service:service_manager find;
  25. get_prop(bluetooth, vendor_display_prop)
  26. get_prop(bluetooth, vendor_audio_prop)
  27. binder_use(bluetooth)