aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/fota1.te
blob: 3d0e06d0a1bb1c6ce2b844aa0fcfd1c6a27438ef (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
# ==============================================
# Policy File of /system/bin/fota1 Executable File 

# ==============================================
# Type Declaration
# ==============================================
type fota1, domain;
type fota1_exec, exec_type, file_type;

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

init_daemon_domain(fota1)

# Date : WK14.46
# Operation : Migration 
# Purpose : For recovery and tee1 upgrade
allow fota1 cache_file:file append;
allow fota1 misc_device:chr_file { write open };
allow fota1 platformblk_device:blk_file { read write open };
allow fota1 platformblk_device:dir search;
allow fota1 recovery_device:chr_file { read write open };