aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/vendor/file_contexts
diff options
context:
space:
mode:
authorUtsavBalar1231 <utsavbalar1231@gmail.com>2022-03-21 15:14:39 -0300
committersinanmohd <pcmsinan@gmail.com>2023-01-05 22:04:15 +0530
commitac9fa79a0febd74b4e3a2705ac6868b7ffa16523 (patch)
tree2b222a4b6c8d287c0cc6ebc6da8b0ab4744b1d8c /sepolicy/vendor/file_contexts
parent21aa4f965b64d353e4703bc2ff64053eacddc151 (diff)
veux: sepolicy: Allow init to write discard_max_bytes on /data partition
Diffstat (limited to 'sepolicy/vendor/file_contexts')
-rw-r--r--sepolicy/vendor/file_contexts3
1 files changed, 3 insertions, 0 deletions
diff --git a/sepolicy/vendor/file_contexts b/sepolicy/vendor/file_contexts
index 70a1f9a..5e63738 100644
--- a/sepolicy/vendor/file_contexts
+++ b/sepolicy/vendor/file_contexts
@@ -46,6 +46,9 @@
# Label read_ahead_kb in /data partition
/sys/devices/platform/soc/4804000.ufshc/host0/target0:0:0/0:0:0:0/block/sda/queue/read_ahead_kb u:object_r:vendor_sysfs_scsi_host:s0
+# Label discard_max_bytes in /data partition
+/sys/devices/platform/soc/4804000.ufshc/host0/target0:0:0/0:0:0:0/block/sda/queue/discard_max_bytes u:object_r:vendor_sysfs_scsi_host:s0
+
# Mlipay
/vendor/bin/mlipayd@1.1 u:object_r:hal_mlipay_default_exec:s0