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
b93f0494
Commit
b93f0494
authored
8 years ago
by
Chad Brubaker
Browse files
Options
Downloads
Patches
Plain Diff
Add media services to ephemeral_app
Test: denials go away Change-Id: I103cf3ad8d86b461bcba8edce02f6202fd2bcbe8
parent
e3531f63
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
private/ephemeral_app.te
+7
-0
7 additions, 0 deletions
private/ephemeral_app.te
private/untrusted_app_all.te
+2
-1
2 additions, 1 deletion
private/untrusted_app_all.te
with
9 additions
and
1 deletion
private/ephemeral_app.te
+
7
−
0
View file @
b93f0494
...
@@ -20,6 +20,13 @@ app_domain(ephemeral_app)
...
@@ -20,6 +20,13 @@ app_domain(ephemeral_app)
allow ephemeral_app { sdcard_type media_rw_data_file }:file {read write getattr ioctl lock append};
allow ephemeral_app { sdcard_type media_rw_data_file }:file {read write getattr ioctl lock append};
# services
# services
allow ephemeral_app audioserver_service:service_manager find;
allow ephemeral_app cameraserver_service:service_manager find;
allow ephemeral_app mediaserver_service:service_manager find;
allow ephemeral_app mediaextractor_service:service_manager find;
allow ephemeral_app mediacodec_service:service_manager find;
allow ephemeral_app mediametrics_service:service_manager find;
allow ephemeral_app mediacasserver_service:service_manager find;
allow ephemeral_app surfaceflinger_service:service_manager find;
allow ephemeral_app surfaceflinger_service:service_manager find;
allow ephemeral_app radio_service:service_manager find;
allow ephemeral_app radio_service:service_manager find;
allow ephemeral_app ephemeral_app_api_service:service_manager find;
allow ephemeral_app ephemeral_app_api_service:service_manager find;
...
...
This diff is collapsed.
Click to expand it.
private/untrusted_app_all.te
+
2
−
1
View file @
b93f0494
###
###
### Untrusted_app_all.
### Untrusted_app_all.
###
###
### This file defines the rules shared by all untrusted app domains.
### This file defines the rules shared by all untrusted app domains except
### ephemeral apps.
### Apps are labeled based on mac_permissions.xml (maps signer and
### Apps are labeled based on mac_permissions.xml (maps signer and
### optionally package name to seinfo value) and seapp_contexts (maps UID
### optionally package name to seinfo value) and seapp_contexts (maps UID
### and optionally seinfo value to domain for process and type for data
### and optionally seinfo value to domain for process and type for data
...
...
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