Merge "system_server is a client of configstore" into oc-dr1-dev
This commit is contained in:
commit
25578a3096
4 changed files with 3 additions and 4 deletions
|
@ -69,9 +69,6 @@ allow appdomain appdomain:fifo_file rw_file_perms;
|
|||
# Communicate with surfaceflinger.
|
||||
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.
|
||||
allow { appdomain -isolated_app } app_data_file:dir create_dir_perms;
|
||||
allow { appdomain -isolated_app } app_data_file:notdevfile_class_set create_file_perms;
|
||||
|
|
|
@ -14,7 +14,6 @@ read_runtime_log_tags(surfaceflinger)
|
|||
hal_client_domain(surfaceflinger, hal_graphics_allocator)
|
||||
hal_client_domain(surfaceflinger, hal_graphics_composer)
|
||||
hal_client_domain(surfaceflinger, hal_configstore)
|
||||
allow surfaceflinger hal_configstore_ISurfaceFlingerConfigs:hwservice_manager find;
|
||||
allow surfaceflinger hidl_token_hwservice:hwservice_manager find;
|
||||
|
||||
# Perform Binder IPC.
|
||||
|
|
|
@ -177,6 +177,7 @@ binder_service(system_server)
|
|||
|
||||
# Use HALs
|
||||
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_fingerprint)
|
||||
hal_client_domain(system_server, hal_gnss)
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
# HwBinder IPC from client to 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)
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue