platform_system_sepolicy/private/system_server_startup.te
Nicolas Geoffray 4c671592be Revert "Sepolicy: Allow system_server_startup to load dalvikcache artifacts"
Bug: 128688902
Bug: 150032912
Test: boots

This reverts commit e074312077.

(cherry-picked from commit 86111c9cd5)

Merged-In: Ib3871142a200ac64268eb02db98d3260758a4677
Change-Id: Ia625dbef3dd18cd06d827149d2b18c55fd076eaf
2020-03-16 16:44:55 +00:00

16 lines
573 B
Text

type system_server_startup, domain, coredomain;
type system_server_startup_tmpfs, file_type;
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 };
# 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;
# Child of the zygote.
allow system_server_startup zygote:process sigchld;