diff options
Diffstat (limited to 'prebuilts/api/32.0/private/update_engine_common.te')
-rw-r--r-- | prebuilts/api/32.0/private/update_engine_common.te | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/prebuilts/api/32.0/private/update_engine_common.te b/prebuilts/api/32.0/private/update_engine_common.te new file mode 100644 index 000000000..8571ff650 --- /dev/null +++ b/prebuilts/api/32.0/private/update_engine_common.te @@ -0,0 +1,13 @@ +# type_transition must be private policy the domain_trans rules could stay +# public, but conceptually should go with this +# The postinstall program is run by update_engine_common and must be tagged +# with postinstall_exec in the new filesystem. +# TODO Have build system attempt to verify this +domain_auto_trans(update_engine_common, postinstall_exec, postinstall) + +# Vendor directories can have the transition as well during OTA. This is caused +# by update_engine execing scripts in vendor to perform any update tasks needed +# there. +domain_auto_trans(update_engine_common, postinstall_file, postinstall) + +allow update_engine_common labeledfs:filesystem { mount unmount relabelfrom }; |