sepolicy: allow time-services to access perf hal

Allow time-services to access perf hal

Change-Id: Iaca0b6e47b63aeccdf5e5faa3628a0cc53017be0
This commit is contained in:
Mohit Aggarwal 2019-06-06 10:40:18 +05:30
parent a1b23eed7e
commit 5f081844b4
2 changed files with 4 additions and 0 deletions

View file

@ -30,3 +30,5 @@ app_domain(timeservice_app);
allow timeservice_app app_api_service:service_manager find;
allow timeservice_app time_daemon:unix_stream_socket connectto;
#allow timeservice to access perf hal
hal_client_domain(timeservice_app, hal_perf);

View file

@ -30,5 +30,7 @@ app_domain(timeservice_app);
allow timeservice_app app_api_service:service_manager find;
allow timeservice_app time_daemon:unix_stream_socket connectto;
#allow timeservice to access perf hal
hal_client_domain(timeservice_app, hal_perf);
get_prop(timeservice_app, vendor_mpctl_prop)