Add sepolicy for init to allow writes to ufs sysfs node

avc:  denied  { open } for  pid=1 comm="init" path="/sys/devices/platform/soc/1d84000.ufshc/host0/target0:0:0/0:0:0:0/block/sda/queue/discard_max_bytes" dev="sysfs" ino=56364 scontext=u:r:init:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=file permissive=0
avc:  denied  { write } for  pid=1 comm="init" name="discard_max_bytes" dev="sysfs" ino=56364 scontext=u:r:init:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=file permissive=0

Bug: 146203801
Test: run factory data reset in recovery mode

Change-Id: Ic88e10d2eb613dd8667c71eb8959725deea6e172
Signed-off-by: Randall Huang <huangrandall@google.com>
1 file changed
tree: 4cf6767cafbfedbd0cc96475f7f4b0d503963b95
  1. private/
  2. public/
  3. vendor/
  4. OWNERS
  5. redbull-sepolicy.mk