summaryrefslogtreecommitdiff
path: root/sepolicy/msensord.te
blob: 8d1ceaa4910000b587a2d695fd70ec81fd088947 (plain)
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
50
# ==============================================
# Policy File of /system/bin/msensord Executable File 


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

type msensord_exec , exec_type, file_type;
type msensord ,domain;

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

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

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

#permissive msensord;
init_daemon_domain(msensord)
#unconfined_domain(msensord)

# Data : WK14.43
# Operation : Migration
# Purpose : M-sensor daemon for access driver node
allow msensord msensord_daemon:file { read open };
allow msensord msensord_daemon2:file { read open };


# Data : WK14.43
# Operation : Migration
# Purpose : M-sensor daemon for property operation
allow msensord ctl_msensord_prop:property_service set;
unix_socket_connect(msensord,property,init)

allow msensord ctl_akmd8963_prop:property_service set;
allow msensord ctl_akmd09911_prop:property_service set;
allow msensord ctl_akmd09912_prop:property_service set;
allow msensord ctl_bmm050d_prop:property_service set;
allow msensord ctl_s62xd_prop:property_service set;
allow msensord ctl_bmm056d_prop:property_service set;
allow msensord ctl_geomagneticd_prop:property_service set;
allow msensord ctl_orientationd_prop:property_service set;
allow msensord ctl_istd8303_prop:property_service set;
allow msensord ctl_st480_prop:property_service set;