android13/device/rockchip/common/sepolicy/vendor/te_macros

13 lines
375 B
Plaintext

define(`ioctl_gpu_device', `
allow $1 gpu_device:dir { search };
allow $1 gpu_device:chr_file { ioctl };
allowxperm $1 gpu_device:chr_file ioctl { 0x8006 0x8007 };
')
define(`rw_rockchip_graphic_device', `
allow $1 gpu_device:dir r_dir_perms;
allow $1 gpu_device:chr_file rw_file_perms;
allow $1 rga_device:chr_file rw_file_perms;
get_prop($1, vendor_system_public_prop)
')