dck: allow st54spi devivce to be accessed by recovery and fastbootd
This is needed so that Digital Car Keys can be cleared from the ST54 during a user data wipe. Bug: 203234558 Test: data wipe in Android recovery mode on raven Test: data wipe in Android recovery mode on c10 Test: data wipe in user mode fastbootd mode on raven Test: data wipe in user mode fastbootd mode on c10 Signed-off-by: Jeffrey Carlyle <jcarlyle@google.com> Change-Id: Icaa3d62aa6b3b88b8db6c1c11807907a06e51019
This commit is contained in:
parent
4b3ae5b9bf
commit
a658683689
2 changed files with 2 additions and 0 deletions
|
@ -4,4 +4,5 @@ allow fastbootd devinfo_block_device:blk_file rw_file_perms;
|
|||
allow fastbootd sda_block_device:blk_file rw_file_perms;
|
||||
allow fastbootd sysfs_ota:file rw_file_perms;
|
||||
allow fastbootd citadel_device:chr_file rw_file_perms;
|
||||
allow fastbootd st54spi_device:chr_file rw_file_perms;
|
||||
')
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
recovery_only(`
|
||||
allow recovery sysfs_ota:file rw_file_perms;
|
||||
allow recovery citadel_device:chr_file rw_file_perms;
|
||||
allow recovery st54spi_device:chr_file rw_file_perms;
|
||||
')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue