qubes-linux-utils/qrexec-lib
Marek Marczykowski-Górecki d88242bb99 filecopy: really do not use O_TMPFILE when use_tmpfile==0
When file opened with O_TMPFILE but use_tmpfile==0, the file will not be
linked to the directory (the code at the end of process_one_file_reg).
Additionally it is waste of time trying using O_TMPFILE when it's
already known it shouldn't be.
Also use_tmpfile==0 can mean we don't have access to /proc
(set_procfs_fd wasn't called), so even if linking the file to its
directory would be attempted, it would fail. This is the case for
dom0-updates copy.
2015-01-21 16:05:19 +01:00
..
buffer.c linux-utils: misc const/prototype fixups 2014-01-06 14:40:57 +01:00
copy-file.c Add a few consts where appropriate 2014-02-16 11:08:22 +01:00
crc32.c Qrexec common code, qubes.Filecopy common code, udev scripts 2013-03-20 06:27:32 +01:00
crc32.h Qrexec common code, qubes.Filecopy common code, udev scripts 2013-03-20 06:27:32 +01:00
exec.c qrexec-lib: use registered callbacks 2014-02-07 05:27:29 +01:00
ioall.c ioall: do not reset file flags when they're already as requested 2014-01-06 14:40:57 +01:00
ioall.h linux-utils: misc const/prototype fixups 2014-01-06 14:40:57 +01:00
libqrexec-utils.h qrexec-lib: return unsigned where only non-negative value is returned 2014-02-19 20:52:24 +01:00
libqubes-rpc-filecopy.h filecopy: create new file unaccessible to the user until fully written 2015-01-11 05:39:25 +01:00
Makefile Use xenstore.h when xen >= 4.2 2014-07-23 04:32:46 +02:00
qrexec.h Qrexec common code, qubes.Filecopy common code, udev scripts 2013-03-20 06:27:32 +01:00
txrx-vchan.c Use xenstore.h when xen >= 4.2 2014-07-23 04:32:46 +02:00
unix-server.c unix-server: do not check for unlink() error when creating socket 2014-01-07 00:27:57 +01:00
unpack.c filecopy: really do not use O_TMPFILE when use_tmpfile==0 2015-01-21 16:05:19 +01:00
write-stdin.c qrexec-lib: use _exit in child process to not fire atexit hooks 2014-05-19 16:52:27 +02:00