QEMU fails to honor O_TMPFILE
Bug #1709170 reported by
Thiago Macieira
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When making a call like
open("/tmp", O_TMPFILE | O_RDWR);
under QEMU, we ged -EISDIR.
Under any kernel 3.11 or later, we are supposed to get an unnamed file in /tmp. In case the filesystem for /tmp does not support unnamed files, we are supposed to get EOPNOTSUPP.
[I don't know the QEMU version, since this happened in a system I don't have access to]
To post a comment you must log in.
Hi Thiago,
What is the version of glibc on the targets you are building to? There was an O_TMPFILE bug in older glibc's:
https:/ /sourceware. org/bugzilla/ show_bug. cgi?id= 17912