eb11cf6989
POSIX requires that a read(2) which can be proved to occur after a
write() has returned returns the new data.
We want here only that other processes in the same VM will see the
file either fully written, or not see it at all. So ensuring that
linkat(2) is called after write is completed should be enough.
Fixes QubesOS/qubes-issues#1257
(cherry picked from commit
|
||
---|---|---|
.. | ||
buffer.c | ||
copy-file.c | ||
crc32.c | ||
crc32.h | ||
exec.c | ||
ioall.c | ||
ioall.h | ||
libqrexec-utils.h | ||
libqubes-rpc-filecopy.h | ||
Makefile | ||
qrexec.h | ||
txrx-vchan.c | ||
unix-server.c | ||
unpack.c | ||
write-stdin.c |