Go to file
Marek Marczykowski-Górecki ea0cd0fdc3
qrexec: fix reporting exit code in qrexec-client-vm
1. If local process is started, report its exit code, instaed of remote
one. To get remote exit code, simply start qrexec-client-vm without
third argument (and connect its stdin/stdout with the other process some
other way).

2. Report process terminated by signal.
Don't pretend that process terminated by signal finished successfuly.
Copy shell behaviour of reporting it as 128+signum.

3. Do not wait() for any child process, just the one we expect. In case
of qrexec-client-vm the child process is started differently and
wait()ing on it inside main loop would break its exit code reporting.

Fixes QubesOS/qubes-issues#2861
2017-06-21 11:21:40 +02:00
archlinux Remove DisposableVM savefile related files 2017-06-08 22:11:35 +02:00
autostart-dropins Merge branch 'autostart-dropins' 2015-09-02 01:16:19 +02:00
ci tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
debian Add qrexec-client-vm man page 2017-06-21 11:21:40 +02:00
doc qrexec: fix reporting exit code in qrexec-client-vm 2017-06-21 11:21:40 +02:00
init Remove DisposableVM savefile related files 2017-06-08 22:11:35 +02:00
misc Update grub configuration 2017-06-21 07:04:26 +02:00
network Implement qrexec-based connection to updates proxy 2017-05-26 05:25:29 +02:00
patches.debian Stop anacron from starting in Debian using existing constraint on cron 2017-02-05 23:36:27 +00:00
pkgs archlinux: created build scripts 2013-04-17 01:22:32 +02:00
post-install.d Implement qubes.PostInstall service 2017-05-26 05:25:30 +02:00
qrexec qrexec: fix reporting exit code in qrexec-client-vm 2017-06-21 11:21:40 +02:00
qubes-rpc Switch qubes.UpdatesProxy to socat 2017-06-10 23:11:01 +02:00
qubesagent tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
rpm_spec Add qrexec-client-vm man page 2017-06-21 11:21:40 +02:00
test-packages tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
vm-init.d Cleanup kernel modules loading configuration 2017-06-08 22:11:38 +02:00
vm-systemd Cleanup kernel modules loading configuration 2017-06-08 22:11:38 +02:00
.coveragerc tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
.gitignore tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
.travis.yml travis: update to Qubes 4.0 repositories 2017-05-20 16:04:35 +02:00
debian-quilt debian: Refactor Debian quilt packaging for xen 2015-02-11 08:02:55 -05:00
LICENSE Added LICENSE 2010-04-05 21:21:27 +02:00
Makefile debian: install man pages 2017-06-21 11:21:40 +02:00
Makefile.builder rpm: integrate documentation into main package 2017-06-08 22:11:35 +02:00
run-tests tests: add run-tests script, plug it into travis 2017-05-20 13:20:08 +02:00
series-debian-vm.conf Stop anacron from starting in Debian using existing constraint on cron 2017-02-05 23:36:27 +00:00
setup.py network: rewrite qubes-firewall daemon 2016-09-12 05:22:53 +02:00
version version 4.0.1 2017-06-11 00:02:49 +02:00