summaryrefslogtreecommitdiff
path: root/sepolicy/orientationd.te
blob: f4ade22d1571c3061950d6509e6765264840056e (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
# ==============================================
# Policy File of /system/binorientationd Executable File 


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

type orientationd_exec , exec_type, file_type;
type orientationd ,domain;

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

#permissive orientationd;
init_daemon_domain(orientationd)
#unconfined_domain(orientationd)

# Date : WK14.43
# Operation : Migration
# Purpose : access sensor data and do calibration
allow orientationd gsensor_device:chr_file { read ioctl open };
allow orientationd input_device:chr_file { read write ioctl open };
allow orientationd input_device:dir { read search open };