from: 71e609c24c97fc8d44843af30527cbeb90d5dcdf Bug: 167996145 Change-Id: Ie00e7e0983a3ca695bbd5140c929d07a80144301
13 lines
396 B
Text
13 lines
396 B
Text
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;
|