summaryrefslogtreecommitdiffstats
path: root/lib/libspl/asm-x86_64
diff options
context:
space:
mode:
authorGunnar Beutner <[email protected]>2011-07-29 10:17:46 +0200
committerBrian Behlendorf <[email protected]>2011-08-01 13:52:23 -0700
commit3132cb397ad1b60cac548b35ad8bbd4c7183fde4 (patch)
tree8b748cc67e44ebc826096df32f7258c572c2aa67 /lib/libspl/asm-x86_64
parent5333eb0b3b18d345052b8cfaf41b90a0c5781fb8 (diff)
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 <[email protected]> Issue #190
Diffstat (limited to 'lib/libspl/asm-x86_64')
0 files changed, 0 insertions, 0 deletions