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
34f00ee2
Commit
34f00ee2
authored
8 years ago
by
Martijn Coenen
Committed by
android-build-merger
8 years ago
Browse files
Options
Downloads
Plain Diff
Give apps, cameraserver, and system_server access to sync fences. am:
de2e79c5
am:
d6ceae5a
Change-Id: I03753dbba73acf23e557e8abdebbd45df310a9fe
parents
94e595d6
d6ceae5a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
private/app.te
+3
-0
3 additions, 0 deletions
private/app.te
private/system_server.te
+3
-0
3 additions, 0 deletions
private/system_server.te
public/cameraserver.te
+3
-0
3 additions, 0 deletions
public/cameraserver.te
with
9 additions
and
0 deletions
private/app.te
+
3
−
0
View file @
34f00ee2
...
...
@@ -177,6 +177,9 @@ binder_call(appdomain, ephemeral_app)
# TODO(b/34454312): only allow getting and talking to mediacodec service
hwbinder_use(appdomain)
# Talk with graphics composer fences
allow appdomain hal_graphics_composer:fd use;
# Already connected, unnamed sockets being passed over some other IPC
# hence no sock_file or connectto permission. This appears to be how
# Chrome works, may need to be updated as more apps using isolated services
...
...
This diff is collapsed.
Click to expand it.
private/system_server.te
+
3
−
0
View file @
34f00ee2
...
...
@@ -202,6 +202,9 @@ hal_client_domain(system_server, hal_wifi_offload)
hal_client_domain(system_server, hal_wifi_supplicant)
# Talk with graphics composer fences
allow system_server hal_graphics_composer:fd use;
# Talk to tombstoned to get ANR traces.
unix_socket_connect(system_server, tombstoned_intercept, tombstoned)
...
...
This diff is collapsed.
Click to expand it.
public/cameraserver.te
+
3
−
0
View file @
34f00ee2
...
...
@@ -14,6 +14,9 @@ hal_client_domain(cameraserver, hal_graphics_allocator)
allow cameraserver ion_device:chr_file rw_file_perms;
# Talk with graphics composer fences
allow cameraserver hal_graphics_composer:fd use;
add_service(cameraserver, cameraserver_service)
allow cameraserver appops_service:service_manager find;
allow cameraserver audioserver_service:service_manager find;
...
...
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