sepolicy: allow fastbootd to access gsc device node
audit: type=1400 audit(1646614793.912:8): avc: denied { getattr } for pid=347 comm="fastbootd" path="/dev/gsc0" dev="tmpfs" ino=469 scontext=u:r:fastbootd:s0 tcontext=u:object_r:citadel_device:s0 tclass=chr_file permissive=0 Bug: 221410358 Test: fastboot -w in fastbootd mode Change-Id: I5680515865c2656ffa91dfe593459aab1ade81cb Signed-off-by: Chungjui Fan <chungjuifan@google.com>
This commit is contained in:
parent
cec1d2a769
commit
e02f501377
1 changed files with 1 additions and 0 deletions
|
@ -3,4 +3,5 @@ recovery_only(`
|
||||||
allow fastbootd devinfo_block_device:blk_file rw_file_perms;
|
allow fastbootd devinfo_block_device:blk_file rw_file_perms;
|
||||||
allow fastbootd sda_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 sysfs_ota:file rw_file_perms;
|
||||||
|
allow fastbootd citadel_device:chr_file rw_file_perms;
|
||||||
')
|
')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue