Merge "Allow system_server_startup to load system server odex files" into sc-dev

This commit is contained in:
Orion Hodson 2021-06-29 16:05:36 +00:00 committed by Android (Google) Code Review
commit ae1b59975a
2 changed files with 8 additions and 0 deletions

View file

@ -7,6 +7,10 @@ tmpfs_domain(system_server_startup)
allow system_server_startup self:process execmem;
allow system_server_startup system_server_startup_tmpfs:file { execute read write open map };
# 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 };
# Allow system_server_startup to run setcon() and enter the
# system_server domain
allow system_server_startup self:process setcurrent;

View file

@ -7,6 +7,10 @@ tmpfs_domain(system_server_startup)
allow system_server_startup self:process execmem;
allow system_server_startup system_server_startup_tmpfs:file { execute read write open map };
# 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 };
# Allow system_server_startup to run setcon() and enter the
# system_server domain
allow system_server_startup self:process setcurrent;