Commit 02bb7f1b authored by Kenton Varda's avatar Kenton Varda

Work around qemu-user mishandling O_TMPDIR.

parent b88183e1
...@@ -1324,6 +1324,7 @@ public: ...@@ -1324,6 +1324,7 @@ public:
SYS_openat, fd.get(), ".", O_RDWR | O_TMPFILE, 0700)) { SYS_openat, fd.get(), ".", O_RDWR | O_TMPFILE, 0700)) {
case EOPNOTSUPP: case EOPNOTSUPP:
case EINVAL: case EINVAL:
case EISDIR:
// Maybe not supported by this kernel / filesystem. Fall back to below. // Maybe not supported by this kernel / filesystem. Fall back to below.
break; break;
default: default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment