filesystem: keep unmapped guest paths out of the host namespace

This commit is contained in:
nmzik committed 2026-09-28 19:17:03 +04:00
1 parent 05f92b6422
commit a107d1e333
4 files changed
+56 -6

No files matched your search

+1 -1
View File
@@ -54,7 +54,7 @@ struct sys_file_t {
#endif
static std::filesystem::path get_internal_name(const std::filesystem::path& name) {
return name.is_absolute() ? name : (std::filesystem::path(".") / name);
return name.empty() || name.is_absolute() ? name : (std::filesystem::path(".") / name);
}
// Pass access-pattern hints to the host.