blob: 07b86aac1d8481035e9344a841a518b42173d5df (
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
|
# ==============================================
# Policy File of /system/bingeomagneticd Executable File
# ==============================================
# Type Declaration
# ==============================================
type geomagneticd_exec , exec_type, file_type;
type geomagneticd ,domain;
# ==============================================
# MTK Policy Rule
# ==============================================
#permissive geomagneticd;
init_daemon_domain(geomagneticd)
#unconfined_domain(geomagneticd)
# Date : WK14.43
# Operation : Migration
# Purpose : access sensor data and do calibration
allow geomagneticd input_device:chr_file { read ioctl open };
allow geomagneticd input_device:dir { read search open };
allow geomagneticd sysfs:file write;
allow geomagneticd system_data_file:dir { write remove_name add_name };
|