Merge "Add data directory for appcompat"

This commit is contained in:
Andrei-Valentin Onea 2021-01-27 18:17:20 +00:00 committed by Gerrit Code Review
commit ef796f6180
4 changed files with 7 additions and 0 deletions

View file

@ -12,6 +12,7 @@
apex_art_staging_data_file apex_art_staging_data_file
apex_info_file apex_info_file
app_hibernation_service app_hibernation_service
appcompat_data_file
arm64_memtag_prop arm64_memtag_prop
authorization_service authorization_service
cgroup_desc_api_file cgroup_desc_api_file

View file

@ -561,6 +561,7 @@
/data/misc/apexdata/com\.android\.wifi(/.*)? u:object_r:apex_wifi_data_file:s0 /data/misc/apexdata/com\.android\.wifi(/.*)? u:object_r:apex_wifi_data_file:s0
/data/misc/apexrollback(/.*)? u:object_r:apex_rollback_data_file:s0 /data/misc/apexrollback(/.*)? u:object_r:apex_rollback_data_file:s0
/data/misc/apns(/.*)? u:object_r:radio_data_file:s0 /data/misc/apns(/.*)? u:object_r:radio_data_file:s0
/data/misc/appcompat(/.*)? u:object_r:appcompat_data_file:s0
/data/misc/audio(/.*)? u:object_r:audio_data_file:s0 /data/misc/audio(/.*)? u:object_r:audio_data_file:s0
/data/misc/audioserver(/.*)? u:object_r:audioserver_data_file:s0 /data/misc/audioserver(/.*)? u:object_r:audioserver_data_file:s0
/data/misc/audiohal(/.*)? u:object_r:audiohal_data_file:s0 /data/misc/audiohal(/.*)? u:object_r:audiohal_data_file:s0

View file

@ -500,6 +500,10 @@ allow system_server heapdump_data_file:file create_file_perms;
allow system_server adb_keys_file:dir create_dir_perms; allow system_server adb_keys_file:dir create_dir_perms;
allow system_server adb_keys_file:file create_file_perms; allow system_server adb_keys_file:file create_file_perms;
# Manage /data/misc/appcompat.
allow system_server appcompat_data_file:dir rw_dir_perms;
allow system_server appcompat_data_file:file create_file_perms;
# Manage /data/misc/emergencynumberdb # Manage /data/misc/emergencynumberdb
allow system_server emergency_data_file:dir create_dir_perms; allow system_server emergency_data_file:dir create_dir_perms;
allow system_server emergency_data_file:file create_file_perms; allow system_server emergency_data_file:file create_file_perms;

View file

@ -377,6 +377,7 @@ type apex_module_data_file, file_type, data_file_type, core_data_file_type;
type apex_permission_data_file, file_type, data_file_type, core_data_file_type; type apex_permission_data_file, file_type, data_file_type, core_data_file_type;
type apex_rollback_data_file, file_type, data_file_type, core_data_file_type; type apex_rollback_data_file, file_type, data_file_type, core_data_file_type;
type apex_wifi_data_file, file_type, data_file_type, core_data_file_type; type apex_wifi_data_file, file_type, data_file_type, core_data_file_type;
type appcompat_data_file, file_type, data_file_type, core_data_file_type;
type audio_data_file, file_type, data_file_type, core_data_file_type; type audio_data_file, file_type, data_file_type, core_data_file_type;
type audioserver_data_file, file_type, data_file_type, core_data_file_type; type audioserver_data_file, file_type, data_file_type, core_data_file_type;
type bluetooth_data_file, file_type, data_file_type, core_data_file_type, app_data_file_type; type bluetooth_data_file, file_type, data_file_type, core_data_file_type, app_data_file_type;