diff options
author | Josh Hou <joshhou@google.com> | 2019-10-08 00:39:51 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-10-08 00:39:51 +0000 |
commit | 5f08124b045c3f104793a4dfcc36a14cce240758 (patch) | |
tree | 442f420bf54c6575ce4ce02ed1e1945c81b090d4 /sepolicy | |
parent | db7b1903304a7153e98cab4299831c6d23d45bbf (diff) | |
parent | d8e64d139e8a3c3dd0327d2d211dbbf53b267a7c (diff) | |
download | wahoo-5f08124b045c3f104793a4dfcc36a14cce240758.tar.gz |
Merge "Add OMADM logs to the bugreport"
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/vendor/omadm.te | 10 | ||||
-rw-r--r-- | sepolicy/vendor/seapp_contexts | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/sepolicy/vendor/omadm.te b/sepolicy/vendor/omadm.te new file mode 100644 index 00000000..dadb4d96 --- /dev/null +++ b/sepolicy/vendor/omadm.te @@ -0,0 +1,10 @@ +# OMADM app +type omadm_app, domain; + +app_domain(omadm_app) +net_domain(omadm_app) + +allow omadm_app app_api_service:service_manager find; +allow omadm_app radio_vendor_data_file:dir rw_dir_perms; +allow omadm_app radio_vendor_data_file:file create_file_perms; +allow omadm_app radio_service:service_manager find; diff --git a/sepolicy/vendor/seapp_contexts b/sepolicy/vendor/seapp_contexts index 8475db15..68ba5857 100644 --- a/sepolicy/vendor/seapp_contexts +++ b/sepolicy/vendor/seapp_contexts @@ -30,3 +30,6 @@ user=_app seinfo=easel name=com.google.android.imaging.easel.service domain=ease #Domain for connectivity monitor user=_app isPrivApp=true seinfo=platform name=com.google.android.connectivitymonitor domain=con_monitor_app type=app_data_file levelFrom=all + +#Domain for omadm +user=_app isPrivApp=true seinfo=platform name=com.android.omadm.service domain=omadm_app type=app_data_file levelFrom=all |