summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@google.com>2022-03-07 23:16:59 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-03-07 23:16:59 +0000
commit2ef39727dcb31f3b7f8b4c43741ed81bc2a0aa0f (patch)
tree2b1b8ccb32a7e902ca50a63b9a805a8bad0cc371
parent7d68bd0a0c389fd2142bb0a97d93aaa613531456 (diff)
parent3f1b4cf4b3026e2e4532c44ba688e0c88135fcbe (diff)
downloadcoral-sepolicy-2ef39727dcb31f3b7f8b4c43741ed81bc2a0aa0f.tar.gz
Allow access sysfs_scsi_devices to tune discard commands am: d4e83f7b9c am: a3319a08a2 am: fe168512ad am: 3f1b4cf4b3
Original change: https://android-review.googlesource.com/c/device/google/coral-sepolicy/+/2008648 Change-Id: I1c02feac1d0e4ea2fda67690ce1470e45412194a
-rw-r--r--vendor/qcom/common/init.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/qcom/common/init.te b/vendor/qcom/common/init.te
index 9f08e2d..816bf3d 100644
--- a/vendor/qcom/common/init.te
+++ b/vendor/qcom/common/init.te
@@ -1,3 +1,4 @@
allow init boot_block_device:lnk_file relabelto;
allow init custom_ab_block_device:lnk_file relabelto;
allow init sysfs_poweroff:file w_file_perms;
+allow init sysfs_scsi_devices_0000:file w_file_perms;