# HWC allow surfaceflinger secmem_device:chr_file rw_file_perms; allow surfaceflinger sysfs_graphics:file rw_file_perms; r_dir_file(surfaceflinger, sysfs_graphics)