Skip to content
Snippets Groups Projects
Commit dd30427e authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

Move /proc/tty/drivers access to untrusted_app_25 am: b4f354fd

am: 9178884c

Change-Id: Icc9dcf9de9d150d545cfdcbba6d65206372746ba
parents eea5d322 9178884c
No related branches found
No related tags found
No related merge requests found
...@@ -35,3 +35,10 @@ get_prop(untrusted_app_25, net_dns_prop) ...@@ -35,3 +35,10 @@ get_prop(untrusted_app_25, net_dns_prop)
# b/35917228 - /proc/misc access # b/35917228 - /proc/misc access
# This will go away in a future Android release # This will go away in a future Android release
allow untrusted_app_25 proc_misc:file r_file_perms; 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;
...@@ -91,9 +91,3 @@ allow untrusted_app_all sysfs_hwrandom:file r_file_perms; ...@@ -91,9 +91,3 @@ allow untrusted_app_all sysfs_hwrandom:file r_file_perms;
# Allow apps to view preloaded content # Allow apps to view preloaded content
allow untrusted_app_all preloads_data_file:dir r_dir_perms; allow untrusted_app_all preloads_data_file:dir r_dir_perms;
allow untrusted_app_all preloads_data_file:file r_file_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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment