sepolicy: legacy: Add vendor_ prefix on hal_srvctracker
* This align servicetracker with sepolicy vndr * This also remove the old servicetracker attributes Change-Id: I762fa6fe5643e357449fb0e3e4bf92fe0d3aae9e Signed-off-by: Jprimero15 <jprimero15@aospa.co>
This commit is contained in:
parent
a19ab4188d
commit
600c798938
|
@ -114,10 +114,6 @@ attribute hal_wifilearner;
|
|||
attribute hal_wifilearner_client;
|
||||
attribute hal_wifilearner_server;
|
||||
|
||||
attribute hal_srvctracker;
|
||||
attribute hal_srvctracker_client;
|
||||
attribute hal_srvctracker_server;
|
||||
|
||||
attribute hal_fm;
|
||||
attribute hal_fm_client;
|
||||
attribute hal_fm_server;
|
||||
|
|
|
@ -28,17 +28,17 @@
|
|||
#Define Domain
|
||||
type vendor_hal_srvctracker_default, domain;
|
||||
type vendor_hal_srvctracker_default_exec, exec_type, vendor_file_type, file_type;
|
||||
hal_server_domain(vendor_hal_srvctracker_default, hal_srvctracker)
|
||||
hal_server_domain(vendor_hal_srvctracker_default, vendor_hal_srvctracker)
|
||||
init_daemon_domain(vendor_hal_srvctracker_default)
|
||||
|
||||
binder_call(hal_srvctracker_client, hal_srvctracker_server)
|
||||
binder_call(hal_srvctracker_server, hal_srvctracker_client)
|
||||
binder_call(vendor_hal_srvctracker_client, vendor_hal_srvctracker_server)
|
||||
binder_call(vendor_hal_srvctracker_server, vendor_hal_srvctracker_client)
|
||||
|
||||
add_hwservice(hal_srvctracker, vendor_hal_srvctracker_hwservice)
|
||||
add_hwservice(vendor_hal_srvctracker, vendor_hal_srvctracker_hwservice)
|
||||
hal_attribute_service(vendor_hal_srvctracker, vendor_hal_servicetrackeraidl_service)
|
||||
binder_call(vendor_hal_srvctracker_server, servicemanager)
|
||||
|
||||
allow hal_srvctracker_client vendor_hal_srvctracker_hwservice:hwservice_manager find;
|
||||
hwbinder_use(hal_srvctracker)
|
||||
allow vendor_hal_srvctracker_client vendor_hal_srvctracker_hwservice:hwservice_manager find;
|
||||
hwbinder_use(vendor_hal_srvctracker)
|
||||
|
||||
get_prop(vendor_hal_srvctracker_default, hwservicemanager_prop)
|
||||
|
|
|
@ -55,7 +55,7 @@ allow system_server bluetooth:unix_stream_socket connectto;
|
|||
unix_socket_send(system_server, iop, dumpstate)
|
||||
unix_socket_connect(system_server, iop, dumpstate)
|
||||
|
||||
hal_client_domain(system_server, hal_srvctracker)
|
||||
hal_client_domain(system_server, vendor_hal_srvctracker)
|
||||
|
||||
# allow system/framework applications to update the dpmd configuration files
|
||||
#unix_socket_connect(system_server, dpmd, dpmd);
|
||||
|
|
Loading…
Reference in New Issue