aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/vendor/init.te
diff options
context:
space:
mode:
authorUtsavBalar1231 <utsavbalar1231@gmail.com>2022-03-21 15:12:42 -0300
committersinanmohd <pcmsinan@gmail.com>2023-01-05 22:04:15 +0530
commit21aa4f965b64d353e4703bc2ff64053eacddc151 (patch)
treedff4a10409d2615c62f479b221f34809738b7cd2 /sepolicy/vendor/init.te
parent5bc3509b146b7f6ec4fb288c64ca7f005c9a5d9d (diff)
veux: sepolicy: Allow setting read_ahead_kb on /data partition
Diffstat (limited to 'sepolicy/vendor/init.te')
-rw-r--r--sepolicy/vendor/init.te5
1 files changed, 4 insertions, 1 deletions
diff --git a/sepolicy/vendor/init.te b/sepolicy/vendor/init.te
index 5be36d2..40d8ce9 100644
--- a/sepolicy/vendor/init.te
+++ b/sepolicy/vendor/init.te
@@ -1 +1,4 @@
-allow init adsprpcd_file:file mounton; \ No newline at end of file
+allow init adsprpcd_file:file mounton;
+
+# Allow init to set read_ahead_kb on /data partition
+allow init vendor_sysfs_scsi_host:file w_file_perms; \ No newline at end of file