2016-07-22 22:13:11 +02:00
|
|
|
# type_transition must be private policy the domain_trans rules could stay
|
|
|
|
# public, but conceptually should go with this
|
|
|
|
init_daemon_domain(installd)
|
|
|
|
|
|
|
|
# Run dex2oat in its own sandbox.
|
|
|
|
domain_auto_trans(installd, dex2oat_exec, dex2oat)
|
|
|
|
|
2017-01-18 05:31:31 +01:00
|
|
|
# Run dexoptanalyzer in its own sandbox.
|
|
|
|
domain_auto_trans(installd, dexoptanalyzer_exec, dexoptanalyzer)
|
|
|
|
|
2016-07-22 22:13:11 +02:00
|
|
|
# Run profman in its own sandbox.
|
|
|
|
domain_auto_trans(installd, profman_exec, profman)
|
|
|
|
|
|
|
|
# Run idmap in its own sandbox.
|
|
|
|
domain_auto_trans(installd, idmap_exec, idmap)
|
2016-10-12 23:58:09 +02:00
|
|
|
|
|
|
|
# Create /data/.layout_version.* file
|
|
|
|
type_transition installd system_data_file:file install_data_file;
|