blob: f1dc81ac6ee3c62dbab2bb0b8966cb692ee7560e (
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
|
# ==============================================
# 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 };
allow geomagneticd system_data_file:file { rename write setattr create unlink open };
|