Searched refs:partial_path (Results 1 – 1 of 1) sorted by relevance
/system/core/adb/ |
D | file_sync_service.cpp | 82 std::string partial_path; in secure_mkdirs() local 84 if (partial_path.back() != OS_PATH_SEPARATOR) partial_path += OS_PATH_SEPARATOR; in secure_mkdirs() 85 partial_path += path_component; in secure_mkdirs() 87 if (should_use_fs_config(partial_path)) { in secure_mkdirs() 88 fs_config(partial_path.c_str(), 1, nullptr, &uid, &gid, &mode, &capabilities); in secure_mkdirs() 90 if (adb_mkdir(partial_path.c_str(), mode) == -1) { in secure_mkdirs() 95 if (chown(partial_path.c_str(), uid, gid) == -1) return false; in secure_mkdirs() 98 selinux_android_restorecon(partial_path.c_str(), 0); in secure_mkdirs() 100 if (!update_capabilities(partial_path.c_str(), capabilities)) return false; in secure_mkdirs()
|