From ac9fa79a0febd74b4e3a2705ac6868b7ffa16523 Mon Sep 17 00:00:00 2001 From: UtsavBalar1231 Date: Mon, 21 Mar 2022 15:14:39 -0300 Subject: veux: sepolicy: Allow init to write discard_max_bytes on /data partition --- sepolicy/vendor/file_contexts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sepolicy/vendor/file_contexts') 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 -- cgit v1.2.3