diff --git a/private/apexd.te b/private/apexd.te index f6e8058b9..a2a77abcd 100644 --- a/private/apexd.te +++ b/private/apexd.te @@ -22,6 +22,8 @@ allow apexd apex_module_data_file:dir { create_dir_perms relabelfrom }; allow apexd apex_module_data_file:file { create_file_perms relabelfrom }; allow apexd apex_rollback_data_file:dir create_dir_perms; allow apexd apex_rollback_data_file:file create_file_perms; +allow apexd apex_scheduling_data_file:dir { create_dir_perms relabelto }; +allow apexd apex_scheduling_data_file:file { create_file_perms relabelto }; allow apexd apex_wifi_data_file:dir { create_dir_perms relabelto }; allow apexd apex_wifi_data_file:file { create_file_perms relabelto }; diff --git a/private/compat/30.0/30.0.ignore.cil b/private/compat/30.0/30.0.ignore.cil index ac7da6eb0..d4f2bc282 100644 --- a/private/compat/30.0/30.0.ignore.cil +++ b/private/compat/30.0/30.0.ignore.cil @@ -11,6 +11,7 @@ apex_art_data_file apex_art_staging_data_file apex_info_file + apex_scheduling_data_file app_hibernation_service appcompat_data_file arm64_memtag_prop diff --git a/private/file_contexts b/private/file_contexts index 580ce0e47..bc33aeda2 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -561,6 +561,7 @@ /data/misc/apexdata(/.*)? u:object_r:apex_module_data_file:s0 /data/misc/apexdata/com\.android\.art(/.*)? u:object_r:apex_art_data_file:s0 /data/misc/apexdata/com\.android\.permission(/.*)? u:object_r:apex_permission_data_file:s0 +/data/misc/apexdata/com\.android\.scheduling(/.*)? u:object_r:apex_scheduling_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/apns(/.*)? u:object_r:radio_data_file:s0 diff --git a/private/system_server.te b/private/system_server.te index 9e903d57c..175eea17b 100644 --- a/private/system_server.te +++ b/private/system_server.te @@ -1224,6 +1224,8 @@ allow system_server vendor_apex_file:file r_file_perms; allow system_server apex_module_data_file:dir { getattr search }; allow system_server apex_permission_data_file:dir create_dir_perms; allow system_server apex_permission_data_file:file create_file_perms; +allow system_server apex_scheduling_data_file:dir create_dir_perms; +allow system_server apex_scheduling_data_file:file create_file_perms; allow system_server apex_wifi_data_file:dir create_dir_perms; allow system_server apex_wifi_data_file:file create_file_perms; diff --git a/private/vold_prepare_subdirs.te b/private/vold_prepare_subdirs.te index b4e95b855..1414f6cc4 100644 --- a/private/vold_prepare_subdirs.te +++ b/private/vold_prepare_subdirs.te @@ -20,6 +20,7 @@ allow vold_prepare_subdirs { apex_module_data_file apex_permission_data_file apex_rollback_data_file + apex_scheduling_data_file apex_wifi_data_file backup_data_file face_vendor_data_file @@ -36,6 +37,7 @@ allow vold_prepare_subdirs { apex_module_data_file apex_permission_data_file apex_rollback_data_file + apex_scheduling_data_file apex_wifi_data_file backup_data_file face_vendor_data_file diff --git a/public/file.te b/public/file.te index a188c78a9..f0d56221c 100644 --- a/public/file.te +++ b/public/file.te @@ -382,6 +382,7 @@ type adb_keys_file, file_type, data_file_type, core_data_file_type; 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_scheduling_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;