diff --git a/private/file_contexts b/private/file_contexts index 11f8f6e58b138cc2083131ad575fbbfd9ea6ca69..ac1b7ab79823a3108edbe0f98ab7b45f305d8ba0 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -557,6 +557,11 @@ # iorapd per-user data /data/misc_ce/[0-9]+/iorapd(/.*)? u:object_r:iorapd_data_file:s0 +# Backup service persistent per-user bookkeeping +/data/system_ce/[0-9]+/backup(/.*)? u:object_r:backup_data_file:s0 +# Backup service temporary per-user data for inter-change with apps +/data/system_ce/[0-9]+/backup_stage(/.*)? u:object_r:backup_data_file:s0 + ############################# # efs files # diff --git a/private/vold_prepare_subdirs.te b/private/vold_prepare_subdirs.te index 09d0ca9230cc4afe024d7d8e1894d51c9a120d26..e6df48df24947f624db23eb7efd0b8f828261981 100644 --- a/private/vold_prepare_subdirs.te +++ b/private/vold_prepare_subdirs.te @@ -14,6 +14,7 @@ allow vold_prepare_subdirs { vendor_data_file }:dir { open read write add_name remove_name rmdir relabelfrom }; allow vold_prepare_subdirs { + backup_data_file face_vendor_data_file fingerprint_vendor_data_file iris_vendor_data_file @@ -22,6 +23,7 @@ allow vold_prepare_subdirs { vold_data_file }:dir { create_dir_perms relabelto }; allow vold_prepare_subdirs { + backup_data_file face_vendor_data_file fingerprint_vendor_data_file iris_vendor_data_file