Merge "sepolicy(wifi): Allow keystore-wificond communication"

am: 2bde15c66b

Change-Id: I31d86ac7ae59e15ef639e5f276c595a576c5eef3
This commit is contained in:
Sunil Ravi 2020-01-17 17:04:30 -08:00 committed by android-build-merger
commit 8fc3504ac8
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,7 @@ typeattribute keystore mlstrustedsubject;
binder_use(keystore)
binder_service(keystore)
binder_call(keystore, system_server)
binder_call(keystore, wificond)
allow keystore keystore_data_file:dir create_dir_perms;
allow keystore keystore_data_file:notdevfile_class_set create_file_perms;

View file

@ -4,6 +4,7 @@ type wificond_exec, system_file_type, exec_type, file_type;
binder_use(wificond)
binder_call(wificond, system_server)
binder_call(wificond, keystore)
add_service(wificond, wificond_service)
@ -38,5 +39,4 @@ add_hwservice(wificond, system_wifi_keystore_hwservice)
# Allow keystore binder access to serve the HwBinder service.
allow wificond keystore_service:service_manager find;
allow wificond keystore:binder call;
allow wificond keystore:keystore_key get;