Let init access block device write /dev/sys/block/by-name/rootdisk/queue/discard_max_bytes 134217728 Bug: 225082034 Test: boot with no relevant error Change-Id: I6fd67e0d84e1edc59f61ea468ba6701ffb616fda
diff --git a/vendor/qcom/common/init.te b/vendor/qcom/common/init.te index bb6fa58..10bf573 100644 --- a/vendor/qcom/common/init.te +++ b/vendor/qcom/common/init.te
@@ -22,3 +22,6 @@ allow init sysfs_poweroff:file w_file_perms; # b/72993533 Thermal mitigation in recovery mode allow init sysfs_thermal:file w_file_perms; + +# b/225082034 +allow init sysfs_mmc:file w_file_perms; \ No newline at end of file