sepolicy: allow time-services to access perf hal
Allow time-services to access perf hal Change-Id: Iaca0b6e47b63aeccdf5e5faa3628a0cc53017be0
This commit is contained in:
parent
a1b23eed7e
commit
5f081844b4
2 changed files with 4 additions and 0 deletions
2
generic/vendor/common/timeservice_app.te
vendored
2
generic/vendor/common/timeservice_app.te
vendored
|
@ -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);
|
||||
|
|
2
legacy/vendor/common/timeservice_app.te
vendored
2
legacy/vendor/common/timeservice_app.te
vendored
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue