freebsd-dev/lib/libzfs
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
..
libzfs_changelist.c Remove HAVE_ZPL from commands and libraries 2011-02-04 16:14:34 -08:00
libzfs_config.c Fix gcc missing braces warnings 2010-08-27 15:34:03 -07:00
libzfs_dataset.c Illumos #278: get rid zfs of python and pyzfs dependencies 2011-08-01 12:09:36 -07:00
libzfs_diff.c Add linux compatibility 2010-08-31 13:41:59 -07:00
libzfs_fru.c Add linux topology support 2010-08-31 13:42:00 -07:00
libzfs_graph.c Fix gcc missing braces warnings 2010-08-27 15:34:03 -07:00
libzfs_import.c Improve 'zpool import' safety 2011-02-17 09:35:43 -08:00
libzfs_mount.c Link libshare directly to libzfs 2011-07-06 09:20:28 -07:00
libzfs_pool.c Add "ashift" property to zpool create 2011-06-17 16:35:49 -07:00
libzfs_sendrecv.c Fix 'zfs send -D' segfault 2011-06-09 13:58:48 -07:00
libzfs_status.c Use gethostid in the Linux convention. 2011-04-25 10:36:17 -05:00
libzfs_util.c Use /dev/null for stdout/stderr in libzfs_run_process(). 2011-08-01 13:52:23 -07:00
Makefile.am Add proper library versioning 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