Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
0046853f
Commit
0046853f
authored
8 years ago
by
Chad Brubaker
Committed by
Gerrit Code Review
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Allow binder IPC between ephemeral app and appdomain"
parents
bb9a3888
641d5d8f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
public/app.te
+2
-0
2 additions, 0 deletions
public/app.te
public/ephemeral_app.te
+2
-0
2 additions, 0 deletions
public/ephemeral_app.te
with
4 additions
and
0 deletions
public/app.te
+
2
−
0
View file @
0046853f
...
@@ -154,6 +154,8 @@ binder_use(appdomain)
...
@@ -154,6 +154,8 @@ binder_use(appdomain)
binder_call(appdomain, binderservicedomain)
binder_call(appdomain, binderservicedomain)
# Perform binder IPC to other apps.
# Perform binder IPC to other apps.
binder_call(appdomain, appdomain)
binder_call(appdomain, appdomain)
# Perform binder IPC to ephemeral apps.
binder_call(appdomain, ephemeral_app)
# Already connected, unnamed sockets being passed over some other IPC
# Already connected, unnamed sockets being passed over some other IPC
# hence no sock_file or connectto permission. This appears to be how
# hence no sock_file or connectto permission. This appears to be how
...
...
This diff is collapsed.
Click to expand it.
public/ephemeral_app.te
+
2
−
0
View file @
0046853f
...
@@ -54,6 +54,8 @@ binder_use(ephemeral_app)
...
@@ -54,6 +54,8 @@ binder_use(ephemeral_app)
# Perform binder IPC to binder services.
# Perform binder IPC to binder services.
binder_call(ephemeral_app, surfaceflinger)
binder_call(ephemeral_app, surfaceflinger)
binder_call(ephemeral_app, system_server)
binder_call(ephemeral_app, system_server)
# Perform binder IPC to apps.
binder_call(ephemeral_app, appdomain)
# Allow read access to ion memory allocation device
# Allow read access to ion memory allocation device
allow ephemeral_app ion_device:chr_file { read open };
allow ephemeral_app ion_device:chr_file { read open };
...
...
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