Home
last modified time | relevance | path

Searched refs:prepare_dir (Results 1 – 1 of 1) sorted by relevance

/system/vold/
DExt4Crypt.cpp283 static bool prepare_dir(const std::string& dir, mode_t mode, uid_t uid, gid_t gid) { in prepare_dir() function
343 if (!prepare_dir(directory_path, 0700, AID_ROOT, AID_ROOT)) return false; in create_and_install_user_keys()
484 if (!prepare_dir(user_key_dir, 0700, AID_ROOT, AID_ROOT)) return false; in e4crypt_init_user0()
485 if (!prepare_dir(user_key_dir + "/ce", 0700, AID_ROOT, AID_ROOT)) return false; in e4crypt_init_user0()
486 if (!prepare_dir(user_key_dir + "/de", 0700, AID_ROOT, AID_ROOT)) return false; in e4crypt_init_user0()
735 if (!prepare_dir(system_legacy_path, 0700, AID_SYSTEM, AID_SYSTEM)) return false; in e4crypt_prepare_user_storage()
737 if (!prepare_dir(misc_legacy_path, 0750, multiuser_get_uid(user_id, AID_SYSTEM), in e4crypt_prepare_user_storage()
740 if (!prepare_dir(profiles_de_path, 0771, AID_SYSTEM, AID_SYSTEM)) return false; in e4crypt_prepare_user_storage()
742 if (!prepare_dir(system_de_path, 0770, AID_SYSTEM, AID_SYSTEM)) return false; in e4crypt_prepare_user_storage()
743 if (!prepare_dir(misc_de_path, 01771, AID_SYSTEM, AID_MISC)) return false; in e4crypt_prepare_user_storage()
[all …]