Merge "Add data directory for appcompat" am: ef796f6180
am: e539930082
am: 0f4b4dac06
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1535011 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I2381b5ae3049a3dd70dd4269bafed9ba9fd4c17a
This commit is contained in:
commit
5f70e71b3d
4 changed files with 7 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
apex_art_staging_data_file
|
||||
apex_info_file
|
||||
app_hibernation_service
|
||||
appcompat_data_file
|
||||
arm64_memtag_prop
|
||||
authorization_service
|
||||
cgroup_desc_api_file
|
||||
|
|
|
@ -561,6 +561,7 @@
|
|||
/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/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/audioserver(/.*)? u:object_r:audioserver_data_file:s0
|
||||
/data/misc/audiohal(/.*)? u:object_r:audiohal_data_file:s0
|
||||
|
|
|
@ -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: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
|
||||
allow system_server emergency_data_file:dir create_dir_perms;
|
||||
allow system_server emergency_data_file:file create_file_perms;
|
||||
|
|
|
@ -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_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 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 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;
|
||||
|
|
Loading…
Reference in a new issue