Dontaudit zygote to read and open media_rw_data_file dir
Zygote will trigger sdcardfs to read and open media_rw_data_file:dir. We can safely ignore this message. Bug: 177248242 Test: Able to boot without selinux warning. Change-Id: Ie9723ac79547bf857f55fc0e60b461210a4e4557
This commit is contained in:
parent
2125c53867
commit
d240d2be77
1 changed files with 4 additions and 2 deletions
|
@ -197,9 +197,11 @@ get_prop(zygote, device_config_window_manager_native_boot_prop)
|
|||
# undesirable, so suppress the denial.
|
||||
dontaudit zygote self:global_capability_class_set { sys_resource fsetid };
|
||||
|
||||
# Ignore spurious denials calling access() on fuse
|
||||
# Ignore spurious denials calling access() on fuse.
|
||||
# Also ignore read and open as sdcardfs may read and open dir when app tries to access a dir that
|
||||
# doesn't exist.
|
||||
# TODO(b/151316657): avoid the denials
|
||||
dontaudit zygote media_rw_data_file:dir setattr;
|
||||
dontaudit zygote media_rw_data_file:dir { read open setattr };
|
||||
|
||||
# Allow zygote to use ashmem fds from system_server.
|
||||
allow zygote system_server:fd use;
|
||||
|
|
Loading…
Reference in a new issue