[Detail] System processes have no permission to access vendor_default_prop [Solution] Add get vendor_default_prop rule for system processes MTK-Commit-Id: 412119fb578fc32e9f046c09a13817cf3c755515 Change-Id: I791997e6bb44c61b69d32c6da0cc80c6f2a9759e CR-Id: ALPS03825066 Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
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;
|
|
|
|
# Date : WK18.20
|
|
# Operation : Migration
|
|
# Purpose : no permission for vendor_default_prop
|
|
get_prop(boot_logo_updater, vendor_default_prop)
|