82071b6859
Add selinux policies for init script and shell script to unzip a tar
containing ASAN libraries on boot.
Bug: 36458146
Test: m && m SANITIZE_TARGET=address
Test: manual (build steps for tar missing)
Change-Id: I5c3cb233aae93ee9985431090af902b0e3c1b0a7
(cherry picked from commit 0b74305011
)
Merged-In: I5c3cb233aae93ee9985431090af902b0e3c1b0a7
8 lines
311 B
Text
8 lines
311 B
Text
# type_transition must be private policy the domain_trans rules could stay
|
|
# public, but conceptually should go with this
|
|
# Technically not a daemon but we do want the transition from init domain to
|
|
# asan_extract to occur.
|
|
with_asan(`
|
|
typeattribute asan_extract coredomain;
|
|
init_daemon_domain(asan_extract)
|
|
')
|