Gunnar Beutner 3132cb397a Use /dev/null for stdout/stderr in libzfs_run_process().
Simply closing the stdout and/or stderr file descriptors for
the child process can have bad side effects if for example
the child writes to stdout/stderr after open()ing a file.
The open() call might have returned the same file descriptor
one would usually expect for stdout/stderr (1 and 2), thereby
causing mis-directed writes.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #190
2011-08-01 13:52:23 -07:00
..
2010-08-31 13:41:59 -07:00
2010-08-31 13:42:00 -07:00
2010-08-27 15:34:03 -07:00
2011-02-17 09:35:43 -08:00
2011-06-09 13:58:48 -07:00
2011-07-06 09:20:28 -07:00