Your Name
a96fe7203e
This commit specifies the integer width explicitly to match result_header_ext
etc.
...
also, can someone explain to me why `send_status_and_crc` does not need
to set `_pad` to prevent leaking stack memory in the responses?
2017-11-20 02:40:35 +01:00
Marek Marczykowski-Górecki
410ad3d25f
qrexec-lib: convert tabs to spaces
...
- Fix compile error on gcc 6 (-Werror=misleading-indentation)
- Follow coding style: https://www.qubes-os.org/doc/coding-style/
2016-06-02 02:32:46 +02:00
Marek Marczykowski-Górecki
d1238ce060
qrexec-lib: add qfile packing functions to libqubes-rpc-filecopy
...
This is counterpart of 5774c78 "qfile-agent: move data handling code to
libqubes-rpc-filecopy" in core-agent-linux. The main purpose is to
easily reuse the code in dom0 qvm-copy-to-vm tool.
QubesOS/qubes-issues#1324
2015-11-03 03:42:49 +01:00
Marek Marczykowski-Górecki
b0fe4d5868
filecopy: create new file unaccessible to the user until fully written
...
Otherwise source domain can modify (append) the file while the user
already is accessing it. While incoming files should be treated as
untrusted, this problem could allow file modification after the user
makes some sanity checks.
2015-01-30 00:55:46 +01:00
Marek Marczykowski-Górecki
12a9049cfe
Fix some more -Wextra warnings
2014-02-16 11:10:31 +01:00
Vincent Penquerc'h
03c9cb1388
Add a few consts where appropriate
2014-02-16 11:08:22 +01:00
Marek Marczykowski-Górecki
113826aa1a
qrexec-lib: use registered callbacks
...
...instead of exported symbols of certain name. This is first step to
use change it to shared libraries.
2014-02-07 05:27:29 +01:00
Vincent Penquerc'h
3a39c65e3e
linux-utils: misc const/prototype fixups
2014-01-06 14:40:57 +01:00
Marek Marczykowski-Górecki
21612bfadf
qrexec-lib: add support for verbose mode (echo just processed file)
2013-11-13 10:35:47 +01:00
Marek Marczykowski-Górecki
a73be3f126
qubes-rpc/filecopy: send last processed filename for diagnostic purposes
...
This will ease solving transfer problems - sender will known at which
file it failed.
2013-08-14 21:28:50 +02:00
Marek Marczykowski-Górecki
5131810265
qubes-rpc/filecopy: use explicit struct alignment
...
This is much more readable, than guessing exact struct packing done by
gcc on x86_64.
2013-08-14 21:26:37 +02:00
Marek Marczykowski
42e133b753
Qrexec common code, qubes.Filecopy common code, udev scripts
2013-03-20 06:27:32 +01:00