core-agent-linux/doc
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
..
vm-tools qrexec: fix reporting exit code in qrexec-client-vm 2017-06-21 11:21:40 +02:00
.gitignore Move manpages here from separate repo 2013-03-12 17:10:49 +01:00
Makefile Keep Makefile DRY 2016-11-10 06:49:01 -05:00