diff --git a/private/file.te b/private/file.te index 5a843f9f5..1afa50f4a 100644 --- a/private/file.te +++ b/private/file.te @@ -62,6 +62,7 @@ type apex_compos_data_file, file_type, data_file_type, core_data_file_type, apex type apex_appsearch_data_file, file_type, data_file_type, core_data_file_type, apex_data_file_type; type apex_permission_data_file, file_type, data_file_type, core_data_file_type, apex_data_file_type; type apex_scheduling_data_file, file_type, data_file_type, core_data_file_type, apex_data_file_type; +type apex_tethering_data_file, file_type, data_file_type, core_data_file_type, apex_data_file_type; type apex_wifi_data_file, file_type, data_file_type, core_data_file_type, apex_data_file_type; # /data/font/files diff --git a/private/file_contexts b/private/file_contexts index b4f42cfc5..af5179983 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -589,6 +589,7 @@ /data/misc/apexdata/com\.android\.compos(/.*)? u:object_r:apex_compos_data_file:s0 /data/misc/apexdata/com\.android\.permission(/.*)? u:object_r:apex_system_server_data_file:s0 /data/misc/apexdata/com\.android\.scheduling(/.*)? u:object_r:apex_system_server_data_file:s0 +/data/misc/apexdata/com\.android\.tethering(/.*)? u:object_r:apex_system_server_data_file:s0 /data/misc/apexdata/com\.android\.uwb(/.*)? u:object_r:apex_system_server_data_file:s0 /data/misc/apexdata/com\.android\.wifi(/.*)? u:object_r:apex_system_server_data_file:s0 /data/misc/apexrollback(/.*)? u:object_r:apex_rollback_data_file:s0 diff --git a/private/system_server.te b/private/system_server.te index 274da1895..59a56b675 100644 --- a/private/system_server.te +++ b/private/system_server.te @@ -1364,12 +1364,14 @@ allow system_server { apex_appsearch_data_file apex_permission_data_file apex_scheduling_data_file + apex_tethering_data_file apex_wifi_data_file }:dir create_dir_perms; allow system_server { apex_appsearch_data_file apex_permission_data_file apex_scheduling_data_file + apex_tethering_data_file apex_wifi_data_file }:file create_file_perms; diff --git a/private/vold_prepare_subdirs.te b/private/vold_prepare_subdirs.te index 3171ee0ff..24007edc4 100644 --- a/private/vold_prepare_subdirs.te +++ b/private/vold_prepare_subdirs.te @@ -56,6 +56,7 @@ allow vold_prepare_subdirs { apex_appsearch_data_file apex_permission_data_file apex_scheduling_data_file + apex_tethering_data_file apex_wifi_data_file }:dir relabelfrom;