Searched refs:prepare_dir (Results 1 – 2 of 2) sorted by relevance
/system/vold/ |
D | vold_prepare_subdirs.cpp | 57 static bool prepare_dir(struct selabel_handle* sehandle, mode_t mode, uid_t uid, gid_t gid, in prepare_dir() function 124 if (!prepare_dir(sehandle, 0711, 0, 0, path + "/apexdata")) return false; in prepare_apex_subdirs() 141 if (!prepare_dir(sehandle, 0771, AID_ROOT, AID_SYSTEM, path + "/apexdata/" + name)) { in prepare_apex_subdirs() 154 if (!prepare_dir(sehandle, 0700, 0, 0, misc_de_path + "/vold")) return false; in prepare_subdirs() 155 if (!prepare_dir(sehandle, 0700, 0, 0, misc_de_path + "/storaged")) return false; in prepare_subdirs() 156 if (!prepare_dir(sehandle, 0700, 0, 0, misc_de_path + "/rollback")) return false; in prepare_subdirs() 158 prepare_dir(sehandle, 0700, 0, 0, misc_de_path + "/apexrollback"); in prepare_subdirs() 162 if (!prepare_dir(sehandle, 0700, AID_SYSTEM, AID_SYSTEM, vendor_de_path + "/fpdata")) { in prepare_subdirs() 166 if (!prepare_dir(sehandle, 0700, AID_SYSTEM, AID_SYSTEM, facedata_path)) { in prepare_subdirs() 172 if (!prepare_dir(sehandle, 0700, 0, 0, misc_ce_path + "/vold")) return false; in prepare_subdirs() [all …]
|
D | FsCrypt.cpp | 300 static bool prepare_dir(const std::string& dir, mode_t mode, uid_t uid, gid_t gid) { in prepare_dir() function 331 if (!prepare_dir(directory_path, 0700, AID_ROOT, AID_ROOT)) return false; in create_and_install_user_keys() 466 if (!prepare_dir(user_key_dir, 0700, AID_ROOT, AID_ROOT)) return false; in fscrypt_init_user0() 467 if (!prepare_dir(user_key_dir + "/ce", 0700, AID_ROOT, AID_ROOT)) return false; in fscrypt_init_user0() 468 if (!prepare_dir(user_key_dir + "/de", 0700, AID_ROOT, AID_ROOT)) return false; in fscrypt_init_user0() 818 if (!prepare_dir(system_legacy_path, 0700, AID_SYSTEM, AID_SYSTEM)) return false; in fscrypt_prepare_user_storage() 820 if (!prepare_dir(misc_legacy_path, 0750, multiuser_get_uid(user_id, AID_SYSTEM), in fscrypt_prepare_user_storage() 824 if (!prepare_dir(profiles_de_path, 0771, AID_SYSTEM, AID_SYSTEM)) return false; in fscrypt_prepare_user_storage() 826 if (!prepare_dir(system_de_path, 0770, AID_SYSTEM, AID_SYSTEM)) return false; in fscrypt_prepare_user_storage() 827 if (!prepare_dir(misc_de_path, 01771, AID_SYSTEM, AID_MISC)) return false; in fscrypt_prepare_user_storage() [all …]
|