Restore the policies accessing files labeled as proc_xxx or sysfs_xxx, but there are some exceptions for coredomain process, such as meta_tst,dump_state,kpoc_charger MTK-Commit-Id: 7953b5203bb3cac099c3326d330643b4cd73746d Change-Id: I4b16c09c352891783e837bea370c264966ca6d13 CR-Id: ALPS03825066 Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
24 lines
892 B
Plaintext
24 lines
892 B
Plaintext
# ==============================================
|
|
# Policy File of /system/binboot_logo_updater Executable File
|
|
# ==============================================
|
|
# Type Declaration
|
|
# ==============================================
|
|
|
|
# Date : WK14.43
|
|
# Operation : Migration
|
|
# Purpose : To access file directories and files like logo.bin
|
|
allow boot_logo_updater logo_block_device:blk_file r_file_perms;
|
|
# To access block files at /dev/block/mmcblk0 ir /dev/block/sdc
|
|
allow boot_logo_updater bootdevice_block_device:blk_file r_file_perms;
|
|
|
|
#To access file at /dev/logo
|
|
allow boot_logo_updater logo_device:chr_file r_file_perms;
|
|
# To access file at /proc/lk_env
|
|
allow boot_logo_updater proc_lk_env:file rw_file_perms;
|
|
|
|
# Date : WK16.25
|
|
# Operation : Global_Device/Uniservice Feature
|
|
# Purpose : for it to read-write SysEnv data
|
|
allow boot_logo_updater para_block_device:blk_file rw_file_perms;
|
|
|