Skip to content
Snippets Groups Projects
Commit 9c08abbd authored by Kenny Root's avatar Kenny Root Committed by android code review
Browse files

Merge "Allow domain access to /dev/ion"

parents c27d30a6 ccc8271a
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,9 @@ allow domain cache_file:lnk_file read;
allow domain cgroup:dir { search write };
allow domain cgroup:file w_file_perms;
#Allow access to ion memory allocation device
allow domain ion_device:chr_file rw_file_perms;
# For /sys/qemu_trace files in the emulator.
bool in_qemu false;
if (in_qemu) {
......
......@@ -25,7 +25,6 @@ allow mediaserver qemu_device:chr_file rw_file_perms;
allow mediaserver sysfs:file rw_file_perms;
# XXX Why?
allow mediaserver apk_data_file:file { read getattr };
allow mediaserver ion_device:chr_file rw_file_perms;
# To use remote processor
allow mediaserver rpmsg_device:chr_file rw_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment