Page MenuHomeFreeBSD

Remove redundant pipe from pdeathsig.c test.

Authored by on Apr 27 2018, 11:07 AM.



A pipe was was left over from a development version of pdeathsig.c and is not needed.

Process C waits for a signal that'll be generated when process B exists. Process B waits for process D to send it a byte via pipe_db before it exits. Process D sends the byte after it has started ptrace()ing process C. The point of the test is to show that process C receives the signal because process B exited, even though C has been reparented to process D. The pipe pipe_cd isn't doing anything useful (though in an earlier version of the patch it did). Clean that up by removing the useless pipe.

Test Plan

Run the test.

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline created this revision.Apr 27 2018, 11:07 AM
kib accepted this revision.Apr 27 2018, 3:57 PM
This revision is now accepted and ready to land.Apr 27 2018, 3:57 PM
This revision was automatically updated to reflect the committed changes.