dontaudit surfaceflinger kernel:system module_request; #TODO removed for Q #for hdmi allow surfaceflinger sysfs_hdmi:file rw_file_perms; allow surfaceflinger system_data_file:dir create_dir_perms; allow surfaceflinger self:capability { sys_nice }; allow surfaceflinger hal_camera_default:fd use; #allow surfaceflinger hal_graphics_allocator_default_tmpfs:file rw_file_perms; # for video formate 10bit to 8bit by rga rw_rockchip_graphic_device(surfaceflinger) binder_call(surfaceflinger, zygote)