aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/GoogleOtaBinder.te
blob: 8112e7f94a698ddca72bf1ccdc30fa7a4172c095 (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
# ==============================================
# Policy File of /system/binGoogleOtaBinder Executable File 


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

type GoogleOtaBinder_exec , exec_type, file_type;
type GoogleOtaBinder ,domain;

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

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

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

#permissive GoogleOtaBinder;
init_daemon_domain(GoogleOtaBinder)
#unconfined_domain(GoogleOtaBinder)

# Date : 2014/09/10
# Operation : Migration
# Purpose : allow Binder IPC
binder_use(GoogleOtaBinder)
binder_service(GoogleOtaBinder)

allow GoogleOtaBinder ota_agent_service:service_manager add;
# /dev/block/mmcblko
allow GoogleOtaBinder platformblk_device:blk_file { write read open };

allow GoogleOtaBinder block_device:dir search;
allow GoogleOtaBinder platformblk_device:dir search;
#/dev/misc
allow GoogleOtaBinder misc_device:chr_file { write read open };