mirror_zfs/lib
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
..
libavl Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00
libefi Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00
libnvpair Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00
libshare Call exportfs -v once for NFS shares. 2011-08-01 13:50:40 -07:00
libspl Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00
libunicode Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00
libuutil Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00
libzfs Use /dev/null for stdout/stderr in libzfs_run_process(). 2011-08-01 13:52:23 -07:00
libzpool Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00
Makefile.am Implemented sharing datasets via NFS using libshare. 2011-07-06 09:20:28 -07:00
Makefile.in Provide a rc.d script for archlinux 2011-07-11 14:12:23 -07:00