android13/device/rockchip/common/sepolicy/vendor/surfaceflinger.te

16 lines
553 B
Plaintext
Executable File

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 unlabeled:filesystem { getattr };
#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)