Multiple choice technology programming languages

Why doesn't child process get SIGHUP when its parent dies?

  1. Only child can send and can not receive from parent signals

  2. SIGHUP is a signal sent by terminals and is not designed to propagate

  3. SIGHUP is an invalid signal

  4. None

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

SIGHUP is historically sent by controlling terminals to the session leader when a terminal disconnects. It is not automatically propagated by the kernel to child processes when a parent process terminates.