sepolicy: Add rule for CneApp to communicate to CND

- Add rule to read cne prop.
- Add binder call rule.

Change-Id: I7c03fe016ede17fb747ad6cba85ff33725ff9f48
CRs-fixed: 2413355
This commit is contained in:
Sauvik Saha
2019-03-11 15:26:30 +05:30
committed by Gerrit - the friendly Code Review server
parent 82218a9737
commit c29ae4e712

View File

@@ -31,6 +31,8 @@ app_domain(qtidataservices_app);
add_hwservice(qtidataservices_app, hal_cacert_hwservice)
hwbinder_use(qtidataservices_app)
get_prop(qtidataservices_app, cnd_prop)
allow qtidataservices_app { app_api_service activity_service }:service_manager find;
allow qtidataservices_app self:qipcrtr_socket create_socket_perms_no_ioctl;
allow qtidataservices_app radio_data_file:dir r_dir_perms;
@@ -41,6 +43,7 @@ allow qtidataservices_app radio_service:service_manager find;
allow qtidataservices_app sysfs_data:file r_file_perms;
binder_call(qtidataservices_app, cnd)
binder_call(qtidataservices_app, rild)
net_domain(qtidataservices_app)
net_domain(qtidataservices_app)