diff options
| author | Riku Voipio | 2017-08-08 15:01:19 +0200 |
|---|---|---|
| committer | Riku Voipio | 2017-10-16 15:00:56 +0200 |
| commit | 5f9cee46cd4ec4600e1a2fdcca20adcf30348f9e (patch) | |
| tree | cd3b518fdc93ec4090b02dd465a7287ec620a873 /linux-user/strace.c | |
| parent | Merge remote-tracking branch 'remotes/elmarco/tags/vu-pull-request' into staging (diff) | |
| download | qemu-5f9cee46cd4ec4600e1a2fdcca20adcf30348f9e.tar.gz qemu-5f9cee46cd4ec4600e1a2fdcca20adcf30348f9e.tar.xz qemu-5f9cee46cd4ec4600e1a2fdcca20adcf30348f9e.zip | |
linux-user: fix O_TMPFILE handling
Since O_TMPFILE might differ between guest and host,
add it to the bitmask_transtbl. While at it, fix the definitions
of O_DIRECTORY etc which should arm32 according to kernel sources.
This fixes open14 and openat03 ltp testcases. Fixes:
https://bugs.launchpad.net/qemu/+bug/1709170
Diffstat (limited to 'linux-user/strace.c')
| -rw-r--r-- | linux-user/strace.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/strace.c b/linux-user/strace.c index d821d165ff..bd897a3f20 100644 --- a/linux-user/strace.c +++ b/linux-user/strace.c @@ -838,6 +838,10 @@ UNUSED static struct flags open_flags[] = { #ifdef O_PATH FLAG_TARGET(O_PATH), #endif +#ifdef O_TMPFILE + FLAG_TARGET(O_TMPFILE), + FLAG_TARGET(__O_TMPFILE), +#endif FLAG_END, }; |
