Thread (129 messages) 129 messages, 7 authors, 2017-04-25

Re: [PATCH 7/6] run-command: block signals between fork and execve

From: Eric Wong <hidden>
Date: 2017-04-14 05:26:29

Brandon Williams [off-list ref] wrote:
On 04/13, Eric Wong wrote:
quoted
@@ -277,6 +278,8 @@ static void child_err_spew(struct child_process *cmd, struct child_err *cerr)
 		error_errno("exec '%s': cd to '%s' failed",
 			    cmd->argv[0], cmd->dir);
 		break;
+	case CHILD_ERR_SIGPROCMASK:
+		error_errno("sigprocmask failed restoring signals");
missing a break statement here I'll add it in, in the re-roll.
Good catch, thanks!
quoted
 	case CHILD_ERR_ENOENT:
 		error_errno("cannot run %s", cmd->argv[0]);
 		break;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help