Resize /system in boot

Is it really safe?
Tested on Allview V3 Viper and Huawei Mate 9
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index f80dc3a..e4a62b8 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -1,3 +1,4 @@
 /system/bin/phh-su                   u:object_r:phhsu_exec:s0
 /system/bin/vndk-detect			u:object_r:vndk_detect_exec:s0
 /system/etc/usb_audio_policy_configuration.xml	u:object_r:vendor_configs_file:s0
+/system/bin/resize-system.sh u:object_r:update_engine_exec:s0