Merge "Fix avc denied in OMA DM" into sc-dev
This commit is contained in:
commit
d2cee097f8
2 changed files with 13 additions and 0 deletions
10
whitechapel/vendor/google/omadm.te
vendored
Normal file
10
whitechapel/vendor/google/omadm.te
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# OMADM app
|
||||||
|
type omadm_app, domain;
|
||||||
|
|
||||||
|
app_domain(omadm_app)
|
||||||
|
net_domain(omadm_app)
|
||||||
|
|
||||||
|
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 app_api_service:service_manager find;
|
||||||
|
allow omadm_app radio_service:service_manager find;
|
3
whitechapel/vendor/google/seapp_contexts
vendored
3
whitechapel/vendor/google/seapp_contexts
vendored
|
@ -28,3 +28,6 @@ user=_app seinfo=platform name=com.android.hbmsvmanager domain=hbmsvmanager_app
|
||||||
|
|
||||||
# Hardware Info Collection
|
# Hardware Info Collection
|
||||||
user=_app isPrivApp=true name=com.google.android.hardwareinfo domain=hardware_info_app type=app_data_file levelFrom=user
|
user=_app isPrivApp=true name=com.google.android.hardwareinfo domain=hardware_info_app type=app_data_file levelFrom=user
|
||||||
|
|
||||||
|
# Domain for omadm
|
||||||
|
user=_app isPrivApp=true seinfo=platform name=com.android.omadm.service domain=omadm_app type=app_data_file levelFrom=all
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue