core-admin/qvm-tools
Marek Marczykowski-Górecki 73301a67c8 core: fix vm.run(..., passio=False) handling
Long time ago passio=True was used to replace current process with
qrexec-client directly (qvm-run --pass-io was the called), but this
behaviour is not used anymore (qvm-run was the only user). And this
option was left untouched, with misleading name - one would assume that
using passio=False should disallow any I/O, but this isn't the case.

Especially qvm-sync-clock is calling clockvm.run('...', wait=True),
default value for passio=False. This causes to output data from
untrusted VM, without sanitising terminal sequences, which can be fatal.

This patch changes passio semantic to actually do what it means - when
set to True - VM process will be able to interact with
stdin/stdout/stderr. But when set to False, all those FDs will be
connected to /dev/null.

Conflicts:
	core-modules/000QubesVm.py
2015-01-30 01:38:52 +01:00
..
Makefile makefile/windows: install qvm-tools with .py extension 2014-11-19 12:50:26 +01:00
qubes-hcl-report qubes-hcl-report v2.2 2014-12-05 19:33:17 +01:00
qubes-prefs qvm-tools/qubes-prefs: report empty setting as empty string instead of "none" (#894) 2014-09-04 23:58:32 +02:00
qubes-set-updates Declare file encoding for all python files, fill missing copyright headers 2014-05-18 21:03:27 +02:00
qvm-add-appvm qvm-tools: check if running as root only on systems with os.geteuid 2014-11-19 12:50:26 +01:00
qvm-add-template qvm-tools: check if running as root only on systems with os.geteuid 2014-11-19 12:50:26 +01:00
qvm-backup qvm-tools: check if running as root only on systems with os.geteuid 2014-11-19 12:50:26 +01:00
qvm-backup-restore qvm-tools: check if running as root only on systems with os.geteuid 2014-11-19 12:50:26 +01:00
qvm-block core: update qvm-block code for HAL API 2014-12-12 03:59:01 +01:00
qvm-check Declare file encoding for all python files, fill missing copyright headers 2014-05-18 21:03:27 +02:00
qvm-clone qvm-tools: check if running as root only on systems with os.geteuid 2014-11-19 12:50:26 +01:00
qvm-create qvm-tools: check if running as root only on systems with os.geteuid 2014-11-19 12:50:26 +01:00
qvm-create-default-dvm dispvm: by default use default dispvm-prerun script 2014-07-02 02:31:22 +02:00
qvm-firewall qvm-tools: check if running as root only on systems with os.geteuid 2014-11-19 12:50:26 +01:00
qvm-grow-private Declare file encoding for all python files, fill missing copyright headers 2014-05-18 21:03:27 +02:00
qvm-grow-root Declare file encoding for all python files, fill missing copyright headers 2014-05-18 21:03:27 +02:00
qvm-init-storage Wrap all VMM connection related object into QubesVMMConnection class 2014-11-19 12:48:26 +01:00
qvm-kill Declare file encoding for all python files, fill missing copyright headers 2014-05-18 21:03:27 +02:00
qvm-ls Declare file encoding for all python files, fill missing copyright headers 2014-05-18 21:03:27 +02:00
qvm-pci Declare file encoding for all python files, fill missing copyright headers 2014-05-18 21:03:27 +02:00
qvm-prefs qvm-tools: check if running as root only on systems with os.geteuid 2014-11-19 12:50:26 +01:00
qvm-remove qvm-tools: check if running as root only on systems with os.geteuid 2014-11-19 12:50:26 +01:00
qvm-revert-template-changes qvm-tools: check if running as root only on systems with os.geteuid 2014-11-19 12:50:26 +01:00
qvm-run core: fix vm.run(..., passio=False) handling 2015-01-30 01:38:52 +01:00
qvm-service Declare file encoding for all python files, fill missing copyright headers 2014-05-18 21:03:27 +02:00
qvm-shutdown qvm-tools/qvm-shutdown: handle domains with xl daemon killed (#903) 2014-09-26 02:18:42 +02:00
qvm-start Rearrange code to not import PyQt on every qvm-* call 2014-06-05 01:59:42 +02:00
qvm-sync-clock Declare file encoding for all python files, fill missing copyright headers 2014-05-18 21:03:27 +02:00
qvm-template-commit qvm-template-commit: add --offline-mode option 2014-11-19 12:48:27 +01:00
qvm-usb qvm-tools: check if running as root only on systems with os.geteuid 2014-11-19 12:50:26 +01:00