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 };
|
|
|
|
|
2019-03-14 22:04:38 +01:00
|
|
|
# Allow to pick up integrity-checked artifacts from the dalvik cache.
|
|
|
|
allow system_server_startup dalvikcache_data_file:dir r_dir_perms;
|
|
|
|
allow system_server_startup dalvikcache_data_file:file { r_file_perms execute };
|
|
|
|
|
|
|
|
# While doing the above, will touch the apex mount dir.
|
|
|
|
allow system_server_startup mnt_expand_file:dir getattr;
|
|
|
|
|
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;
|