diff --git a/private/file_contexts b/private/file_contexts index 03bd889d58ce6a8d33a4ac068d43d097f8e79435..ca0a6968520ab45cf06586c0791cb768a080bd21 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -396,6 +396,7 @@ /data/misc/profman(/.*)? u:object_r:profman_dump_data_file:s0 # storaged proto files +/data/misc_de/[0-9]+/storaged(/.*)? u:object_r:storaged_data_file:s0 /data/misc_ce/[0-9]+/storaged(/.*)? u:object_r:storaged_data_file:s0 # Fingerprint data diff --git a/private/vold_prepare_subdirs.te b/private/vold_prepare_subdirs.te index c2146f91af06c033454b5a19d9a052d1e7805e8e..7360e5848b16cd8f1c8af1beaffa4696ceb31179 100644 --- a/private/vold_prepare_subdirs.te +++ b/private/vold_prepare_subdirs.te @@ -1 +1,3 @@ domain_auto_trans(vold, vold_prepare_subdirs_exec, vold_prepare_subdirs) + +allow vold_prepare_subdirs storaged_data_file:dir create_dir_perms;