storage: fix userdata_exp.ai partition selinux error

avc:  denied  { write } for  comm="init" name="sda34" dev="tmpfs" ino=1296 scontext=u:r:init:s0 tcontext=u:object_r:userdata_exp_block_device:s0 tclass=blk_file permissive=1

Bug: 361093433
Test: boot without issue
Change-Id: I0c74eb19172f39c44fc2ca61ba0bb8e38c808556
Signed-off-by: Randall Huang <huangrandall@google.com>
This commit is contained in:
Randall Huang 2025-01-21 07:33:36 +08:00
parent 5468ea3a18
commit 6cda4c1c19

View file

@ -1,4 +1,5 @@
# init
allow init sysfs_scsi_devices_0000:file w_file_perms;
allow init userdata_exp_block_device:blk_file write;
dontaudit init intelligence_data_file:dir mounton;