about summary refs log tree commit diff
path: root/kitd.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2023-10-09 14:15:18 -0400
committerJune McEnroe <june@causal.agency>2023-10-09 14:15:18 -0400
commitef31f3fa2ca48f7cfc9a5d106f35c53ea4e647c4 (patch)
tree755846e8318a3e890880baef074aa2e888e10b17 /kitd.c
parentSet signal mask and use ppoll (diff)
downloadkitd-ef31f3fa2ca48f7cfc9a5d106f35c53ea4e647c4.tar.gz
kitd-ef31f3fa2ca48f7cfc9a5d106f35c53ea4e647c4.zip
Unmask signals before exec!
Diffstat (limited to '')
-rw-r--r--kitd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kitd.c b/kitd.c
index d3dbe3b..2c8ceee 100644
--- a/kitd.c
+++ b/kitd.c
@@ -185,6 +185,7 @@ int main(int argc, char *argv[]) {
 				setpgid(0, 0);
 				dup2(stdoutRW[1], STDOUT_FILENO);
 				dup2(stderrRW[1], STDERR_FILENO);
+				sigprocmask(SIG_SETMASK, &unmask, NULL);
 				execvp(argv[0], (char *const *)argv);
 				err(127, "%s", argv[0]);
 			}
>2019-07-12Add new causal.agency with shotty shotsJune McEnroe 2019-07-12Use -s to infer terminal sizeJune McEnroe 2019-07-12Add DCH to shottyJune McEnroe 2019-07-12Support insert mode in shottyJune McEnroe 2019-07-11Don't do carriage return on line feedJune McEnroe 2019-07-11Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe