Skip to content
Advertisement

Tag: sigchld

Change child process’ termination signal at runtime

Using clone() to fork a process you can specify the signal a child process should send its parent on death instead the “normal” SIGCHLD. Is it possible to change the set termination signal after the child was created? Either by the child or the parent? Answer I (quickly) scanned Linux’ source for assignments to struct task_struct’s member exit_signal. This seems

Advertisement