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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
f3a05203
Commit
f3a05203
authored
9 years ago
by
Jeffrey Vander Stoep
Committed by
Android (Google) Code Review
9 years ago
Browse files
Options
Downloads
Plain Diff
Merge "autoplay_app: access to services and other permissions"
parents
003eddfc
b7baa7fd
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
autoplay_app.te
+18
-0
18 additions, 0 deletions
autoplay_app.te
with
18 additions
and
0 deletions
autoplay_app.te
+
18
−
0
View file @
f3a05203
...
@@ -22,6 +22,9 @@ tmpfs_domain(autoplay_app)
...
@@ -22,6 +22,9 @@ tmpfs_domain(autoplay_app)
# Map with PROT_EXEC.
# Map with PROT_EXEC.
allow autoplay_app autoplay_app_tmpfs:file execute;
allow autoplay_app autoplay_app_tmpfs:file execute;
# Read system properties managed by zygote.
allow autoplay_app zygote_tmpfs:file read;
# Send logcat messages to logd.
# Send logcat messages to logd.
write_logd(autoplay_app)
write_logd(autoplay_app)
...
@@ -81,6 +84,18 @@ allow autoplay_app system_data_file:lnk_file read;
...
@@ -81,6 +84,18 @@ allow autoplay_app system_data_file:lnk_file read;
# System file accesses. Check for libraries
# System file accesses. Check for libraries
allow autoplay_app system_file:dir getattr;
allow autoplay_app system_file:dir getattr;
# services
allow autoplay_app accessibility_service:service_manager find;
allow autoplay_app activity_service:service_manager find;
allow autoplay_app assetatlas_service:service_manager find;
allow autoplay_app connectivity_service:service_manager find;
allow autoplay_app display_service:service_manager find;
allow autoplay_app graphicsstats_service:service_manager find;
allow autoplay_app input_method_service:service_manager find;
allow autoplay_app input_service:service_manager find;
allow autoplay_app surfaceflinger_service:service_manager find;
allow autoplay_app textservices_service:service_manager find;
###
###
### neverallow rules
### neverallow rules
###
###
...
@@ -97,3 +112,6 @@ neverallow autoplay_app debugfs:file read;
...
@@ -97,3 +112,6 @@ neverallow autoplay_app debugfs:file read;
# execute gpu_device
# execute gpu_device
neverallow autoplay_app gpu_device:chr_file execute;
neverallow autoplay_app gpu_device:chr_file execute;
# access files in /sys with the default sysfs label
neverallow autoplay_app sysfs:file *;
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