Suppress denial for ueventd to getattr

From now on, linker will resolve dir.${section} paths of ld.config.txt.
This is added to suppress SELinux denial during resolving /postinstall.

Bug: http://b/80422611
Test: on taimen m -j, logcat | grep denied, atest on bionic/linker/tests
Change-Id: I12c2bb76d71ae84055b5026933dcaa6ef2808590
This commit is contained in:
Inseob Kim 2018-06-19 10:34:15 +09:00
parent e0637cfc8e
commit d8612deee8

View File

@ -45,6 +45,10 @@ recovery_only(`
allow ueventd rootfs:file { r_file_perms execute };
')
# Suppress denials for ueventd to getattr /postinstall. This occurs when the
# linker tries to resolve paths in ld.config.txt.
dontaudit ueventd postinstall_mnt_dir:dir getattr;
#####
##### neverallow rules
#####