aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/terservice.te
blob: 4c93863c197765867764067966a998963a708b97 (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
# ==============================================
# Policy File of /system/binterservice Executable File 


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

type terservice_exec , exec_type, file_type;
type terservice ,domain;

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

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

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

init_daemon_domain(terservice)

# Date : 2014/09/18 (WK14.38)
# Operation : Migration
# Purpose : allow register terservice service in servicemanager.
allow terservice terservice_service:service_manager add;

# property service
unix_socket_connect(terservice, property, init)
allow terservice terservice_prop:property_service set;

# ccci ioctl
allow terservice ccci_device:chr_file { read write ioctl open };

# ipc call
binder_use(terservice) 
binder_service(terservice)