Move chre from legacy to vendor
Bug: 312143882 Test: make selinux_policy Change-Id: I8a83e5fb4ec042a278ca381e2db9e3ce9f6344aa
This commit is contained in:
parent
df5d3cf62d
commit
ffebd92814
1 changed files with 0 additions and 0 deletions
24
legacy/zuma/vendor/chre.te
vendored
24
legacy/zuma/vendor/chre.te
vendored
|
@ -1,24 +0,0 @@
|
|||
type chre, domain;
|
||||
type chre_exec, vendor_file_type, exec_type, file_type;
|
||||
init_daemon_domain(chre)
|
||||
|
||||
# Permit communication with AoC
|
||||
allow chre aoc_device:chr_file rw_file_perms;
|
||||
|
||||
# Allow CHRE to determine AoC's current clock
|
||||
allow chre sysfs_aoc:dir search;
|
||||
allow chre sysfs_aoc_boottime:file r_file_perms;
|
||||
|
||||
# Allow CHRE to create thread to watch AOC's device
|
||||
allow chre device:dir r_dir_perms;
|
||||
|
||||
# Allow CHRE to write to data to chre data directory
|
||||
allow chre chre_data_file:dir create_dir_perms;
|
||||
allow chre chre_data_file:file create_file_perms;
|
||||
|
||||
# Allow CHRE to use WakeLock
|
||||
wakelock_use(chre)
|
||||
|
||||
# Allow CHRE host to talk to stats service
|
||||
allow chre fwk_stats_service:service_manager find;
|
||||
binder_call(chre, stats_service_server)
|
Loading…
Add table
Add a link
Reference in a new issue