diff --git a/private/untrusted_app_25.te b/private/untrusted_app_25.te index cd3f32beed483ed2b80f3bac3328eb891e1347eb..e576d27dc9f01efe5047c08dd4cad47adaaf762f 100644 --- a/private/untrusted_app_25.te +++ b/private/untrusted_app_25.te @@ -35,3 +35,10 @@ get_prop(untrusted_app_25, net_dns_prop) # b/35917228 - /proc/misc access # This will go away in a future Android release allow untrusted_app_25 proc_misc:file r_file_perms; + +# Access to /proc/tty/drivers, to allow apps to determine if they +# are running in an emulated environment. +# b/33214085 b/33814662 b/33791054 b/33211769 +# https://github.com/strazzere/anti-emulator/blob/master/AntiEmulator/src/diff/strazzere/anti/emulator/FindEmulator.java +# This will go away in a future Android release +allow untrusted_app_25 proc_tty_drivers:file r_file_perms; diff --git a/private/untrusted_app_all.te b/private/untrusted_app_all.te index edd1f93a078a63210100bd3d2fa146435178b1fa..6534412719923951ff924997828aec8f5fb8a8d5 100644 --- a/private/untrusted_app_all.te +++ b/private/untrusted_app_all.te @@ -91,9 +91,3 @@ allow untrusted_app_all sysfs_hwrandom:file r_file_perms; # Allow apps to view preloaded content allow untrusted_app_all preloads_data_file:dir r_dir_perms; allow untrusted_app_all preloads_data_file:file r_file_perms; - -# Access to /proc/tty/drivers, to allow apps to determine if they -# are running in an emulated environment. -# b/33214085 b/33814662 b/33791054 b/33211769 -# https://github.com/strazzere/anti-emulator/blob/master/AntiEmulator/src/diff/strazzere/anti/emulator/FindEmulator.java -allow untrusted_app_all proc_tty_drivers:file r_file_perms;