This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_motorola_sanders/sepolicy/sensor_hub.te
Vachounet 005c212c61 sanders: sepolicy update
Change-Id: Ibc045495b988437244304f37d451c9537a53a4f3
2018-04-26 00:58:56 -03:00

13 lines
369 B
Plaintext

type sensor_hub, domain;
type sensor_hub_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(sensor_hub)
binder_use(sensor_hub)
binder_service(sensor_hub)
allow sensor_hub sensors_device:chr_file rw_file_perms;
set_prop(sensor_hub, motosh_prop)
allow sensor_hub firmware_file:file { getattr open read };
allow sensor_hub vendor_file:file rx_file_perms;