Blog 2020/1/27
<- previous | index | next ->
I've been cobbling together a little collection of architectures as part of my journey to learn how to write a compiler.
Blog 2020/1/27
<- previous | index | next ->
I've been cobbling together a little collection of architectures as part of my journey to learn how to write a compiler.
/* | |
NAME: | |
shellguard | |
Signal forwarding intermediary command executer that translates terminal-generated SIGINT/SIGQUIT (Ctlr+C/Ctrl+/) | |
into SIGTERM/SIGABRT so that shell-backgrounded procesess don't stay running in the background when | |
the user presses Ctrl+C or Ctrl+/. | |
PROBLEM: | |
Shell scripts don't kill their child processes and instead rely on process-group-wide signals |
From N1256: (See http://port70.net/~nsz/c/c99/n1256.html#J.2)
main
using one of the specified forms (5.1.2.2.1).