When running processes pids1 and pids2, which behavior regarding the child process knowing its parent's PID is observed?

A) In both pids1 and pids2, the child process is aware of its parent's real PID.
B) In pids1, the child process knows its parent's real PID, while in pids2, the child often thinks its parent has PID=1.
C) In pids1, the child often thinks its parent has PID=1, while in pids2, the child knows its parent's real PID.
D) In both pids1 and pids2, the child often thinks its parent has PID=1.

Q&A Education