Thread (14 messages) flat view 14 messages, 6 authors, 2016-06-15

Re: [PATCH] be paranoid about closed stdin/stdout/stderr

From: Johannes Sixt <hidden>
Date: 2016-06-15 22:45:13

Possibly related (same subject, not in this thread)

Paolo Bonzini schrieb:
+	/*
+	 * Always open file descriptors 0/1/2 to avoid clobbering files
+	 * in die().  It also avoids not messing up when the pipes are
+	 * dup'ed onto stdin/stdout/stderr in the child processes we spawn.
+	 */
I see your point, but I don't have an opinion whether this stretch is
necessary.

However, *if* we do this, we must do it for all non-builtins as well!

-- Hannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help