diff options
Diffstat (limited to 'common/imscm.te')
-rw-r--r-- | common/imscm.te | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/common/imscm.te b/common/imscm.te new file mode 100644 index 00000000..118a6cdd --- /dev/null +++ b/common/imscm.te @@ -0,0 +1,25 @@ +#integrated sensor process +type imscm, domain; +type imscm_exec, exec_type, file_type; + +# Started by init +init_daemon_domain(imscm) +net_domain(imscm) + +# To make VT call +binder_use(imscm) + +#Add connectionmanager service +allow imscm imscm_service:service_manager add; + +#allow imscm ims_socket:sock_file write; +#allow imscm ims:unix_stream_socket connectto; +unix_socket_connect(imscm, ims, ims) +allow imscm self:capability net_raw; +#allow imscm untrusted_app:binder call; + +# imscm needs to communicate with test app +# using binder call +userdebug_or_eng(` + binder_call(imscm, appdomain) +') |