from: 71e609c24c97fc8d44843af30527cbeb90d5dcdf Bug: 167996145 Change-Id: Ie00e7e0983a3ca695bbd5140c929d07a80144301
14 lines
364 B
Text
14 lines
364 B
Text
type aocd, domain;
|
|
type aocd_exec, vendor_file_type, exec_type, file_type;
|
|
init_daemon_domain(aocd)
|
|
|
|
# access persist files
|
|
allow aocd mnt_vendor_file:dir search;
|
|
allow aocd persist_file:dir search;
|
|
|
|
# sysfs operations
|
|
allow aocd sysfs_aoc:dir search;
|
|
allow aocd sysfs_aoc_firmware:file w_file_perms;
|
|
|
|
# dev operations
|
|
allow aocd aoc_device:chr_file r_file_perms;
|