• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# ==============================================
2# Policy File of /system/binboot_logo_updater Executable File
3
4# New added for move to /system
5typeattribute boot_logo_updater coredomain;
6type boot_logo_updater_exec, system_file_type, exec_type, file_type;
7
8# ==============================================
9# MTK Policy Rule
10# ==============================================
11
12init_daemon_domain(boot_logo_updater)
13
14# Date : WK14.32
15# Operation : Migration
16# Puration : set boot reason
17set_prop(boot_logo_updater, system_prop)
18
19allow boot_logo_updater graphics_device:chr_file rw_file_perms;
20
21# To access directory /dev/block/mmcblk0 or /dev/block/sdc
22allow boot_logo_updater block_device:dir search;
23allow boot_logo_updater graphics_device:dir search;
24# to access file at  /dev/block/mtd
25allow boot_logo_updater mtd_device:chr_file r_file_perms;
26allow boot_logo_updater mtd_device:dir search;
27#To access the file at   /dev/kmsg
28allow boot_logo_updater kmsg_device:chr_file w_file_perms;
29#To the access /fstab mount point
30allow boot_logo_updater rootfs:file r_file_perms;
31#To access linux filesystem
32allow boot_logo_updater sysfs:dir read;
33# sanity fail for ALPS03604686:
34# for path="/sys/firmware/devicetree/base/firmware/android/fstab" andfor name = "cmdline" and "mtdblock14"
35allow boot_logo_updater mtd_device:blk_file read;
36allow boot_logo_updater sysfs:dir open;
37allow boot_logo_updater mtd_device:blk_file open;
38