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
25578a30
Commit
25578a30
authored
7 years ago
by
TreeHugger Robot
Committed by
Android (Google) Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "system_server is a client of configstore" into oc-dr1-dev
parents
ed27bec5
23e0a7f2
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
private/app.te
+0
-3
0 additions, 3 deletions
private/app.te
private/surfaceflinger.te
+0
-1
0 additions, 1 deletion
private/surfaceflinger.te
private/system_server.te
+1
-0
1 addition, 0 deletions
private/system_server.te
public/hal_configstore.te
+2
-0
2 additions, 0 deletions
public/hal_configstore.te
with
3 additions
and
4 deletions
private/app.te
+
0
−
3
View file @
25578a30
...
@@ -69,9 +69,6 @@ allow appdomain appdomain:fifo_file rw_file_perms;
...
@@ -69,9 +69,6 @@ allow appdomain appdomain:fifo_file rw_file_perms;
# Communicate with surfaceflinger.
# Communicate with surfaceflinger.
allow appdomain surfaceflinger:unix_stream_socket { read write setopt getattr getopt shutdown };
allow appdomain surfaceflinger:unix_stream_socket { read write setopt getattr getopt shutdown };
# Query whether a Surface supports wide color
allow { appdomain -isolated_app } hal_configstore_ISurfaceFlingerConfigs:hwservice_manager find;
# App sandbox file accesses.
# App sandbox file accesses.
allow { appdomain -isolated_app } app_data_file:dir create_dir_perms;
allow { appdomain -isolated_app } app_data_file:dir create_dir_perms;
allow { appdomain -isolated_app } app_data_file:notdevfile_class_set create_file_perms;
allow { appdomain -isolated_app } app_data_file:notdevfile_class_set create_file_perms;
...
...
This diff is collapsed.
Click to expand it.
private/surfaceflinger.te
+
0
−
1
View file @
25578a30
...
@@ -14,7 +14,6 @@ read_runtime_log_tags(surfaceflinger)
...
@@ -14,7 +14,6 @@ read_runtime_log_tags(surfaceflinger)
hal_client_domain(surfaceflinger, hal_graphics_allocator)
hal_client_domain(surfaceflinger, hal_graphics_allocator)
hal_client_domain(surfaceflinger, hal_graphics_composer)
hal_client_domain(surfaceflinger, hal_graphics_composer)
hal_client_domain(surfaceflinger, hal_configstore)
hal_client_domain(surfaceflinger, hal_configstore)
allow surfaceflinger hal_configstore_ISurfaceFlingerConfigs:hwservice_manager find;
allow surfaceflinger hidl_token_hwservice:hwservice_manager find;
allow surfaceflinger hidl_token_hwservice:hwservice_manager find;
# Perform Binder IPC.
# Perform Binder IPC.
...
...
This diff is collapsed.
Click to expand it.
private/system_server.te
+
1
−
0
View file @
25578a30
...
@@ -177,6 +177,7 @@ binder_service(system_server)
...
@@ -177,6 +177,7 @@ binder_service(system_server)
# Use HALs
# Use HALs
hal_client_domain(system_server, hal_allocator)
hal_client_domain(system_server, hal_allocator)
hal_client_domain(system_server, hal_configstore)
hal_client_domain(system_server, hal_contexthub)
hal_client_domain(system_server, hal_contexthub)
hal_client_domain(system_server, hal_fingerprint)
hal_client_domain(system_server, hal_fingerprint)
hal_client_domain(system_server, hal_gnss)
hal_client_domain(system_server, hal_gnss)
...
...
This diff is collapsed.
Click to expand it.
public/hal_configstore.te
+
2
−
0
View file @
25578a30
# HwBinder IPC from client to server
# HwBinder IPC from client to server
binder_call(hal_configstore_client, hal_configstore_server)
binder_call(hal_configstore_client, hal_configstore_server)
allow hal_configstore_client hal_configstore_ISurfaceFlingerConfigs:hwservice_manager find;
add_hwservice(hal_configstore_server, hal_configstore_ISurfaceFlingerConfigs)
add_hwservice(hal_configstore_server, hal_configstore_ISurfaceFlingerConfigs)
# As opposed to the rules of most other HALs, the different services exposed by
# As opposed to the rules of most other HALs, the different services exposed by
# this HAL should be restricted to different clients. Thus, the allow rules for
# this HAL should be restricted to different clients. Thus, the allow rules for
...
...
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