diff options
Diffstat (limited to 'runtime')
| -rw-r--r-- | runtime/client.zig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/client.zig b/runtime/client.zig index 329bdab3..7941889e 100644 --- a/runtime/client.zig +++ b/runtime/client.zig @@ -149,6 +149,11 @@ pub fn execAgain(s: *Start, view: u8) []const u8 { k += 1; } envp[k] = null; + // The mask goes across an exec: the signals a terminal client blocks + // for its own sigwait (HUP, TERM) would stay blocked under a build that + // waits on fewer, a TERM never delivered. + const none = std.posix.sigemptyset(); + std.posix.sigprocmask(std.posix.SIG.SETMASK, &none, null); _ = libc.execve(path, &argv, envp.ptr); return "Upgrade: the build at this client's start path would not start"; } |
