Unverified Commit 1e56a130 authored by Kenton Varda's avatar Kenton Varda Committed by GitHub

Merge pull request #714 from capnproto/qemu-workaround

Work around qemu-user mishandling O_TMPDIR.
parents b88183e1 02bb7f1b
...@@ -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