Update bootanim.te file to allow IOCTL commands MTK-Commit-Id: 63b0669373adc7386aa445b2e617abde5e40bcbb Change-Id: I0e62af7c87040cd438e5e62171b830c6641e0e81 CR-Id: ALPS04340640 Feature: [Module]Settings
29 lines
826 B
Plaintext
29 lines
826 B
Plaintext
# ==============================================
|
|
# MTK Policy Rule
|
|
# ============
|
|
|
|
# Date : WK14.37
|
|
# Operation : Migration
|
|
# Purpose : for opetator
|
|
allow bootanim bootani_prop:property_service set;
|
|
|
|
# Date : WK14.46
|
|
# Operation : Migration
|
|
# Purpose : For MTK Emulator HW GPU
|
|
allow bootanim qemu_pipe_device:chr_file rw_file_perms;
|
|
|
|
# Date : WK16.33
|
|
# Purpose: Allow to access ged for gralloc_extra functions
|
|
allow bootanim proc_ged:file {open read write ioctl getattr};
|
|
|
|
# Date : WK17.43
|
|
# Operation : Migration
|
|
# Purpose : For MTK perfmgr
|
|
allow bootanim proc_perfmgr:dir {search read};
|
|
allow bootanim proc_perfmgr:file {open read ioctl};
|
|
|
|
# Date : WK19.11
|
|
# Operation : Migration
|
|
# Purpose : Allow to access ged for ioctl related functions
|
|
allowxperm bootanim proc_ged:file ioctl {PROC_GED_IOCTLCMD_1 PROC_GED_IOCTLCMD_3};
|