commit | 49d6d91f9cd4d2c7af10c5d29e7d0efd37384812 | [log] [tgz] |
---|---|---|
author | Pierre-Hugues Husson <pierre-hugues.husson@softathome.com> | Tue Apr 24 14:12:18 2018 +0200 |
committer | Pierre-Hugues Husson <pierre-hugues.husson@softathome.com> | Tue Apr 24 14:12:25 2018 +0200 |
tree | b9b365bae489b32212596c3873fe491e1f035bb7 | |
parent | 01566efd3def25a670290629a8f45c4e80c77371 [diff] |
Fix f2fs on Huawei devices (Thanks @Flex1911 and @LuK1337)
diff --git a/sepolicy/init.te b/sepolicy/init.te index a8a25cc..9fa6879 100644 --- a/sepolicy/init.te +++ b/sepolicy/init.te
@@ -1,2 +1,6 @@ #This is in Android 8.0, but not 8.1 domain_trans(init, rootfs, adbd) + +#This is used on Huawei devices to f2fs data partition +allow init userdata_block_device:blk_file relabelto; +allow init userdata_block_device:lnk_file relabelto;