Home | History | Annotate | Download | only in sepolicy
      1 userdebug_or_eng(`
      2   allow hal_graphics_composer_default diag_device:chr_file rw_file_perms;
      3 ')
      4 dontaudit hal_graphics_composer_default diag_device:chr_file rw_file_perms;
      5 
      6 # misc
      7 typeattribute hal_graphics_composer_default data_between_core_and_vendor_violators;
      8 allow hal_graphics_composer_default display_data_file:dir create_dir_perms;
      9 allow hal_graphics_composer_default display_data_file:file create_file_perms;
     10 
     11 # persist
     12 allow hal_graphics_composer_default persist_file:dir search;
     13 
     14 # persist/display
     15 allow hal_graphics_composer_default persist_display_file:dir r_dir_perms;
     16 allow hal_graphics_composer_default persist_display_file:file create_file_perms;
     17 
     18 vndbinder_use(hal_graphics_composer_default);
     19 add_service(hal_graphics_composer_default, qdisplay_service)
     20 
     21 # HWC_UeventThread
     22 allow hal_graphics_composer_default self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
     23 
     24 # Access /sys/devices/virtual/graphics/fb0/mdp/caps and maybe others
     25 r_dir_file(hal_graphics_composer_default, sysfs_type)
     26 
     27