vendor_init: Add getattr to sg

Bug: 260522244
Change-Id: I9f447ecb635280048ca0d785f00b6c851a9dedf3
This commit is contained in:
Wilson Sung 2023-02-10 18:35:47 +08:00
parent 6cf7ce5cc0
commit e338667584
2 changed files with 1 additions and 2 deletions

View file

@ -1,8 +1,6 @@
# b/260366195
dontaudit vendor_init debugfs_trace_marker:file { getattr };
dontaudit vendor_init vendor_init:capability2 { block_suspend };
# b/260522244
dontaudit vendor_init sg_device:chr_file { getattr };
# b/264490095
userdebug_or_eng(`
permissive vendor_init;

View file

@ -7,6 +7,7 @@ set_prop(vendor_init, logpersistd_logging_prop)
allow vendor_init proc_dirty:file w_file_perms;
allow vendor_init proc_sched:file w_file_perms;
allow vendor_init sg_device:chr_file r_file_perms;
allow vendor_init bootdevice_sysdev:file create_file_perms;
allow vendor_init modem_img_file:filesystem { getattr };