From 21aa4f965b64d353e4703bc2ff64053eacddc151 Mon Sep 17 00:00:00 2001
From: UtsavBalar1231 <utsavbalar1231@gmail.com>
Date: Mon, 21 Mar 2022 15:12:42 -0300
Subject: veux: sepolicy: Allow setting read_ahead_kb 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 dda8a34..70a1f9a 100644
--- a/sepolicy/vendor/file_contexts
+++ b/sepolicy/vendor/file_contexts
@@ -43,6 +43,9 @@
 # IR
 /dev/ir_spi										u:object_r:ir_spi_device:s0
 
+# 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
+
 # Mlipay
 /vendor/bin/mlipayd@1.1									u:object_r:hal_mlipay_default_exec:s0
 
-- 
cgit v1.2.3