system_server_startup.te 906 B

1234567891011121314151617181920212223
  1. type system_server_startup, domain, coredomain;
  2. type system_server_startup_tmpfs, file_type;
  3. tmpfs_domain(system_server_startup)
  4. # Create JIT memory
  5. allow system_server_startup self:process execmem;
  6. allow system_server_startup system_server_startup_tmpfs:file { execute read write open map };
  7. # Allow to pick up integrity-checked artifacts from the dalvik cache.
  8. allow system_server_startup dalvikcache_data_file:dir r_dir_perms;
  9. allow system_server_startup dalvikcache_data_file:file { r_file_perms execute };
  10. # While doing the above, will touch the apex mount dir.
  11. allow system_server_startup mnt_expand_file:dir getattr;
  12. # Allow system_server_startup to run setcon() and enter the
  13. # system_server domain
  14. allow system_server_startup self:process setcurrent;
  15. allow system_server_startup system_server:process dyntransition;
  16. # Child of the zygote.
  17. allow system_server_startup zygote:process sigchld;