Branch zuma from gs201
Branch zuma from gs201 sha1 63751751aa91275b083797278d638078b3a0bf7a cp/pantah/ripcurrent cp/gs201/zuma Bug: 229340586 Change-Id: Ie692d8dbbf0fc4d3b376dc9fe3e930bd3955a88e Signed-off-by: Aaron Ding <aaronding@google.com>
This commit is contained in:
parent
e4a3061192
commit
e47b3d9991
199 changed files with 3343 additions and 0 deletions
21
aoc/aocd.te
Normal file
21
aoc/aocd.te
Normal file
|
@ -0,0 +1,21 @@
|
|||
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;
|
||||
r_dir_file(aocd, persist_aoc_file);
|
||||
|
||||
# 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 rw_file_perms;
|
||||
|
||||
# allow inotify to watch for additions/removals from /dev
|
||||
allow aocd device:dir r_dir_perms;
|
||||
|
||||
# set properties
|
||||
set_prop(aocd, vendor_aoc_prop)
|
Loading…
Add table
Add a link
Reference in a new issue