• 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
17allow boot_logo_updater system_prop:property_service set;
18
19allow boot_logo_updater graphics_device:chr_file rw_file_perms;
20
21# For IPC communication
22allow boot_logo_updater init:unix_stream_socket connectto;
23allow boot_logo_updater property_socket:sock_file write;
24# To access directory /dev/block/mmcblk0 or /dev/block/sdc
25allow boot_logo_updater block_device:dir search;
26allow boot_logo_updater graphics_device:dir search;
27# to access file at  /dev/block/mtd
28allow boot_logo_updater mtd_device:chr_file r_file_perms;
29allow boot_logo_updater mtd_device:dir search;
30#To access the file at   /dev/kmsg
31allow boot_logo_updater device:dir write;
32allow boot_logo_updater kmsg_device:chr_file w_file_perms;
33#To the access /fstab mount point
34allow boot_logo_updater rootfs:file r_file_perms;
35#To access linux filesystem
36allow boot_logo_updater sysfs:dir read;
37# sanity fail for ALPS03604686:
38# for path="/sys/firmware/devicetree/base/firmware/android/fstab" andfor name = "cmdline" and "mtdblock14"
39allow boot_logo_updater mtd_device:blk_file read;
40allow boot_logo_updater sysfs:dir open;
41allow boot_logo_updater mtd_device:blk_file open;
42