Change /dev/ion from read-only to read-write
am: 71fd337f04
* commit '71fd337f040216cf24a09765589dd9a4dfbb4d4d':
Change /dev/ion from read-only to read-write
diff --git a/adbd.te b/adbd.te
index 07b64ac..92e7c21 100644
--- a/adbd.te
+++ b/adbd.te
@@ -62,7 +62,7 @@
binder_call(adbd, surfaceflinger)
# b/13188914
allow adbd gpu_device:chr_file rw_file_perms;
-allow adbd ion_device:chr_file r_file_perms;
+allow adbd ion_device:chr_file rw_file_perms;
r_dir_file(adbd, system_file)
# Read /data/misc/adb/adb_keys.
diff --git a/shell.te b/shell.te
index 6eb7e56..4b6acbc 100644
--- a/shell.te
+++ b/shell.te
@@ -125,4 +125,4 @@
neverallow shell file_type:file link;
# Allow access to ion memory allocation device.
-allow shell ion_device:chr_file { open read };
+allow shell ion_device:chr_file rw_file_perms;