Files
libguestfs/daemon
Pino Toscano 9c3b4f6ad8 daemon: improve internal commandrvf
- add a flag to request chroot for the process, which is done only as
  very last (before chdir) operation before exec'ing the process in the
  child: this avoids using CHROOT_IN & CHROOT_OUT around command*
  invocations, and reduces the code spent in chroot mode
- add failure checks for dup2, open, and chdir done in child, not
  proceeding to executing the process if they fail
- open /dev/null without O_CLOEXEC, so it stays available for the
  exec'ed process, and thus we don't need to provide an own fd for stdin

Followup of commit fd2f175ee7, thanks also
to the notes and hints provided by Mateusz Guzik.
2015-12-15 15:00:11 +01:00
..
2015-10-05 14:28:33 +01:00
2015-01-17 09:08:15 +00:00
2015-12-15 15:00:11 +01:00
2015-01-17 09:08:15 +00:00
2015-12-15 15:00:11 +01:00
2015-10-05 14:28:33 +01:00
2015-01-17 09:08:15 +00:00
2015-07-02 16:08:44 +01:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2015-12-15 15:00:11 +01:00
2015-11-24 19:13:39 +00:00
2014-10-23 19:03:11 +02:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2014-10-23 19:03:11 +02:00
2015-10-05 14:28:33 +01:00
2015-11-13 11:53:12 +00:00
2015-10-05 14:28:33 +01:00
2014-10-23 19:03:11 +02:00
2015-10-05 14:28:33 +01:00
2015-01-17 09:08:15 +00:00
2015-10-05 14:28:33 +01:00
2015-01-17 09:08:15 +00:00
2015-07-02 16:08:44 +01:00
2015-01-17 09:08:15 +00:00
2014-10-23 19:03:11 +02:00
2015-10-05 14:28:33 +01:00
2015-10-27 17:25:49 +00:00
2015-07-02 16:08:44 +01:00