Home | History | Annotate | Download | only in sepolicy
      1 type hardware_info_app, domain;
      2 
      3 app_domain(hardware_info_app)
      4 
      5 # Services
      6 allow hardware_info_app app_api_service:service_manager find;
      7 
      8 # SysFS
      9 allow hardware_info_app sysfs_batteryinfo:dir search;
     10 allow hardware_info_app sysfs_batteryinfo:file { getattr open read };
     11 allow hardware_info_app sysfs_camera:dir search;
     12 allow hardware_info_app sysfs_camera:file { getattr open read };
     13 allow hardware_info_app sysfs_msm_subsys:dir search;
     14 allow hardware_info_app sysfs_scsi_devices_0000:dir search;
     15 allow hardware_info_app sysfs_scsi_devices_0000:file { getattr open read };
     16 allow hardware_info_app sysfs_soc:dir search;
     17 allow hardware_info_app sysfs_soc:file { getattr open read };
     18