Skip to content
Snippets Groups Projects
Commit ccc8271a authored by William Roberts's avatar William Roberts
Browse files

Allow domain access to /dev/ion

Change-Id: I87f81a632ed61f284f2fe09726f5c4529d36f252
parent 10f9a372
No related branches found
No related tags found
No related merge requests found
...@@ -83,6 +83,9 @@ allow domain cache_file:lnk_file read; ...@@ -83,6 +83,9 @@ allow domain cache_file:lnk_file read;
allow domain cgroup:dir { search write }; allow domain cgroup:dir { search write };
allow domain cgroup:file w_file_perms; 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. # For /sys/qemu_trace files in the emulator.
bool in_qemu false; bool in_qemu false;
if (in_qemu) { if (in_qemu) {
......
...@@ -25,7 +25,6 @@ allow mediaserver qemu_device:chr_file rw_file_perms; ...@@ -25,7 +25,6 @@ allow mediaserver qemu_device:chr_file rw_file_perms;
allow mediaserver sysfs:file rw_file_perms; allow mediaserver sysfs:file rw_file_perms;
# XXX Why? # XXX Why?
allow mediaserver apk_data_file:file { read getattr }; allow mediaserver apk_data_file:file { read getattr };
allow mediaserver ion_device:chr_file rw_file_perms;
# To use remote processor # To use remote processor
allow mediaserver rpmsg_device:chr_file rw_file_perms; 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