Commit Graph

279 Commits

Author SHA1 Message Date
Vincent Penquerc'h
e6c29bbae1 meminfo-writer: ensure we do not write outside our buffer
Reading the max size would cause a NUL to be written after
the buffer, while an error would cause one to be written
before it.
2014-01-05 05:39:30 +01:00
Vincent Penquerc'h
2758d2a1d3 meminfo-writer: kill child if we error out due to failure to write the pid file 2014-01-05 05:39:29 +01:00
Vincent Penquerc'h
1a72505d24 meminfo-writer: simple command line sanity checks 2014-01-05 05:39:29 +01:00
Vincent Penquerc'h
0c718b7f54 meminfo-writer: trivial typo fix 2014-01-05 05:39:29 +01:00
Vincent Penquerc'h
76afc2e72f meminfo-writer: ensure we always use the first parses memory info
It could plausibly be ignored for stupidly large thresholds
2014-01-05 05:39:29 +01:00
Vincent Penquerc'h
7e086970e9 meminfo-writer: make meminfo parsing more robust
- ensure we see all the expected fields
- avoid overflowing name buffer on malformed input
- avoid possible overread when the last line is small
2014-01-05 05:39:29 +01:00
Vincent Penquerc'h
2ba46ff17f meminfo-writer: make buffers const where possible 2014-01-05 05:39:29 +01:00
Marek Marczykowski-Górecki
f0b1271a5e Include meminfo-writer
It is common for dom0 and VM, so keep in one place for both of them.
2014-01-05 05:32:57 +01:00
Joanna Rutkowska
5afa710f21 version 2.0.1 2013-12-04 16:02:24 +01:00
Olivier MEDOC
8cb51d76c9 archlinux: allow static libraries to be packaged 2013-12-03 18:06:01 +01:00
Joanna Rutkowska
f00c5acb98 version 1.3.2 2013-11-16 15:28:24 +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
761305bc8b qrexec-lib: check files limit before processing the file
Off-by-one error.
2013-11-13 10:35:23 +01:00
Joanna Rutkowska
05092fb3e6 version 1.3.1 2013-11-02 12:59:23 -04:00
Marek Marczykowski-Górecki
2ee40f16c2 qrexec-lib: fail peer_client_init call when domain dies
Don't wait indefinitely.
2013-10-27 16:06:26 +01:00
Marek Marczykowski-Górecki
2739340559 qrexec-lib: fix memory leak
If xs_read returns pointer to empty string (len==0), then it was leaked.
2013-10-27 16:05:32 +01:00
Marek Marczykowski-Górecki
c3ef1acb1a Merge branch 'master' of git://git.qubes-os.org/joanna/linux-utils
Conflicts:
	version
2013-10-11 12:56:58 +02:00
Joanna Rutkowska
1e93583060 version 1.3 2013-10-08 12:01:36 +02:00
Marek Marczykowski-Górecki
077afa8a65 version 1.2.1 2013-10-08 10:45:37 +02:00
Marek Marczykowski-Górecki
23ea1ebe19 qvm-block: detect read-only devices 2013-10-01 04:19:14 +02:00
Marek Marczykowski-Górecki
0bf30e0426 version 1.2 2013-09-17 04:47:52 +02: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-Górecki
138d7899d9 Remove duplicated filecopy.h header
The same also exists as libqubes-rpc-filecopy.h.
2013-08-14 21:25:30 +02:00
Olivier Medoc
c5c3448d91 archlinux: created build scripts 2013-04-17 01:48:28 +02:00
Marek Marczykowski
7d85cbd80a version 1.1 2013-03-26 02:52:28 +01:00
Marek Marczykowski
a84a1e98e4 spec: Add missing build requires 2013-03-21 04:45:24 +01:00
Marek Marczykowski
c7277740b0 Add 'clean' make target 2013-03-20 15:31:30 +01:00
Marek Marczykowski
42e133b753 Qrexec common code, qubes.Filecopy common code, udev scripts 2013-03-20 06:27:32 +01:00