2018-10-04 19:57:29 +02:00
|
|
|
type system_server_startup, domain, coredomain;
|
2019-01-24 00:07:40 +01:00
|
|
|
type system_server_startup_tmpfs, file_type;
|
2018-10-04 19:57:29 +02:00
|
|
|
|
|
|
|
tmpfs_domain(system_server_startup)
|
|
|
|
|
|
|
|
# Create JIT memory
|
|
|
|
allow system_server_startup self:process execmem;
|
|
|
|
allow system_server_startup system_server_startup_tmpfs:file { execute read write open map };
|
|
|
|
|
2021-06-23 17:41:14 +02:00
|
|
|
# Allow to pick up integrity-checked artifacts from the ART APEX dalvik cache.
|
|
|
|
allow system_server_startup apex_art_data_file:dir r_dir_perms;
|
|
|
|
allow system_server_startup apex_art_data_file:file { r_file_perms execute };
|
|
|
|
|
2018-10-04 19:57:29 +02:00
|
|
|
# Allow system_server_startup to run setcon() and enter the
|
|
|
|
# system_server domain
|
|
|
|
allow system_server_startup self:process setcurrent;
|
|
|
|
allow system_server_startup system_server:process dyntransition;
|
2019-04-04 18:25:15 +02:00
|
|
|
|
|
|
|
# Child of the zygote.
|
|
|
|
allow system_server_startup zygote:process sigchld;
|
2021-06-03 17:16:22 +02:00
|
|
|
|
|
|
|
# Allow query ART device config properties
|
|
|
|
get_prop(system_server_startup, device_config_runtime_native_boot_prop)
|
|
|
|
get_prop(system_server_startup, device_config_runtime_native_prop)
|