Home | History | Annotate | Download | only in sepolicy
      1 # config_bluetooth service
      2 type config_bluetooth, domain;
      3 type config_bluetooth_exec, exec_type, file_type;
      4 
      5 # Started by init
      6 init_daemon_domain(config_bluetooth)
      7 
      8 # Set bluetooth.* and qualcomm.bluetooth.* properties.
      9 set_prop(config_bluetooth, bluetooth_prop);
     10 
     11 # Allow execution of /system/bin/btnvtool.
     12 allow config_bluetooth btnvtool_exec:file rx_file_perms;
     13 
     14 # Allow access to /persist/.bt_nv.bin.
     15 allow config_bluetooth persist_file:dir w_dir_perms;
     16 allow config_bluetooth persist_file:file create_file_perms;
     17 
     18 allow config_bluetooth shell_exec:file r_file_perms;
     19 
     20 allow config_bluetooth toolbox_exec:file rx_file_perms;
     21 
     22 allow config_bluetooth sysfs:file r_file_perms;
     23