mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-04 23:47:47 -04:00
24 lines
925 B
Text
24 lines
925 B
Text
#### sensorhubservice
|
|
#
|
|
type sensorhubservice, domain, coredomain;
|
|
type sensorhubservice_exec, exec_type, file_type, system_file_type;
|
|
type sensorhubservice_service, app_api_service, system_server_service, service_manager_type;
|
|
init_daemon_domain(sensorhubservice)
|
|
|
|
# /dev/input[0-9]*
|
|
allow sensorhubservice input_device:dir r_dir_perms;
|
|
allow sensorhubservice { input_device sensor_device }:chr_file rw_file_perms;
|
|
|
|
# binder call
|
|
allow sensorhubservice servicemanager:binder { call transfer };
|
|
|
|
allow sensorhubservice sysfs:file { getattr open read };
|
|
|
|
# sysfs_virtual
|
|
allow sensorhubservice sysfs_virtual:file { open read getattr setattr };
|
|
allow sensorhubservice sysfs_virtual:dir { open read search };
|
|
allow sensorhubservice sysfs_virtual:lnk_file read;
|
|
|
|
allow sensorhubservice sysfs_input:dir search;
|
|
allow sensorhubservice sysfs_input:lnk_file read;
|
|
allow sensorhubservice sysfs_input:file { read write open getattr };
|