summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Shih <adamshih@google.com>2022-03-17 03:36:08 +0000
committerAdam Shih <adamshih@google.com>2022-03-17 03:36:14 +0000
commitf211fa5035a06a3159465cea041bba659f1556d4 (patch)
treee2f3de1880a15596951851267eac01974a57e40e
parent19f1f97b89f40ebbb0926bb8b6617d7e5b269493 (diff)
downloadbonito-sepolicy-f211fa5035a06a3159465cea041bba659f1556d4.tar.gz
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
-rw-r--r--vendor/qcom/common/init.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/qcom/common/init.te b/vendor/qcom/common/init.te
index bb6fa584..10bf5732 100644
--- a/vendor/qcom/common/init.te
+++ b/vendor/qcom/common/init.te
@@ -22,3 +22,6 @@ allow init sysfs_vdso:file w_file_perms;
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