storage: fix ota selinux error
avc: denied { read write } for pid=281 comm="update_engine_s" name="boot_lun_enabled" dev="sysfs" ino=99875 scontext=u:r:recovery:s0 tcontext=u:object_r:sysfs_ota:s0 tclass=file permissive=1 avc: denied { open } for pid=281 comm="update_engine_s" path="/sys/devices/platform/3c400000.ufs/pixel/boot_lun_enabled" dev="sysfs" ino=99875 scontext=u:r:recovery:s0 tcontext=u:object_r:sysfs_ota:s0 tclass=file permissive=1 Bug: 361093433 Test: OTA sideload Change-Id: I7c92346d7ab08597d612e798d2252768eed124a2 Signed-off-by: Randall Huang <huangrandall@google.com>
This commit is contained in:
parent
9b9bee2c1a
commit
69c69b2609
1 changed files with 1 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
# factory data reset
|
||||
recovery_only(`
|
||||
allow recovery sysfs_ota:file rw_file_perms;
|
||||
allow recovery sysfs_scsi_devices_0000:file r_file_perms;
|
||||
allow recovery sysfs_scsi_devices_0000:dir r_dir_perms;
|
||||
')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue