mirror of
https://github.com/Moyster/mm_device_meizu_m2note
synced 2024-06-16 16:08:33 +02:00
25 lines
792 B
Plaintext
25 lines
792 B
Plaintext
|
# ==============================================
|
||
|
# 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 };
|