aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/boot_logo_updater.te
blob: 2cf00644b562890addda932fa00b7660774fa040 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# ==============================================
# Policy File of /system/binboot_logo_updater Executable File 


# ==============================================
# Type Declaration
# ==============================================

type boot_logo_updater_exec , exec_type, file_type;
type boot_logo_updater ,domain;

# ==============================================
# Android Policy Rule
# ==============================================

# ==============================================
# NSA Policy Rule
# ==============================================

# ==============================================
# MTK Policy Rule
# ==============================================

init_daemon_domain(boot_logo_updater)


# Date : WK14.31
# Operation : Migration 
# Purpose : for L early bring up. 
allow boot_logo_updater mmcblk_device:blk_file { read open };
allow boot_logo_updater platformblk_device:blk_file { read open };

# Date : WK14.32
# Operation : Migration
# Puration : set boot reason
allow boot_logo_updater system_prop:property_service set;

# Date : WK14.43
# Operation : Migration
# Puration : for policy migration
allow boot_logo_updater graphics_device:chr_file { read write ioctl open };
allow boot_logo_updater init:unix_stream_socket connectto;
allow boot_logo_updater logo_device:chr_file { read open };
allow boot_logo_updater platformblk_device:dir search;
allow boot_logo_updater property_socket:sock_file write;
allow boot_logo_updater self:capability dac_override;
allow boot_logo_updater sysfs:file write;
allow boot_logo_updater block_device:dir search;
allow boot_logo_updater graphics_device:dir search;