common: sepolicy: sepolicy rules for accessing read_ahead_kb

Adding sepolicy rule to fix avc denials while accessing
read_ahead_kb node for vold.

Change-Id: I078b00b07b31a813a2151595e24332cfa2361901
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>

[1] - 10-29 19:13:47.873 W/binder:543_3(543): type=1400 audit(0.0:113): avc: denied { write } for name="read_ahead_kb" dev="sysfs" ino=74683 scontext=u:r:vold:s0 tcontext=u:object_r:vendor_sysfs_mmc_host:s0 tclass=file permissive=0

Change-Id: I8661014f083bddb48808335af5e8b2d2a751851c
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
This commit is contained in:
Sarthak Garg 2021-10-12 20:10:35 +05:30 committed by CHRISL7
parent 2a0bb783eb
commit 790d9e712c
1 changed files with 1 additions and 0 deletions

View File

@ -0,0 +1 @@
allow vold vendor_sysfs_mmc_host:file w_file_perms;