Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
57ed1654
Commit
57ed1654
authored
Mar 5, 2017
by
Nick Kralevich
Committed by
android-build-merger
Mar 5, 2017
Browse files
Options
Downloads
Plain Diff
Move /proc/tty/drivers access to untrusted_app_25 am:
b4f354fd
am:
9178884c
am:
dd30427e
Change-Id: I60ed97a8ce34245c817874dfedb39d8aa8994f8f
parents
e3d53115
dd30427e
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/untrusted_app_25.te
+7
-0
7 additions, 0 deletions
private/untrusted_app_25.te
private/untrusted_app_all.te
+0
-6
0 additions, 6 deletions
private/untrusted_app_all.te
with
7 additions
and
6 deletions
private/untrusted_app_25.te
+
7
−
0
View file @
57ed1654
...
...
@@ -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;
This diff is collapsed.
Click to expand it.
private/untrusted_app_all.te
+
0
−
6
View file @
57ed1654
...
...
@@ -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;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment