blob: 1489426e99caa2b7957e0d43ee3d58b27e02ae3e [file] [log] [blame]
type sensorservice, domain;
type sensorservice_exec, exec_type, file_type;
init_brillo_domain(sensorservice)
# Allow sensorservice to be discovered by servicemanager and use binder.
allow sensorservice sensorservice_service:service_manager add;
allow sensorservice servicemanager:binder { transfer call };
# Allow servicemanager to access sensorservice.
allow servicemanager sensorservice:dir search;
allow servicemanager sensorservice:file { read open };
allow servicemanager sensorservice:process getattr;