HomeFreeBSD

Add a signal handler for SIGINT to make sure that the PID file
rS172581Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Add a signal handler for SIGINT to make sure that the PID file
gets cleaned up upon receiving SIGINT. This un-breaks subsequent
executions of ipfwpcap and helps when debugging network/divert
issues like this:

ipfwpcap -r 6000 - | tcpdump -r -

MFC after: 1 week

Details

Provenance
csjpAuthored on
Parents
rS172580: Revision 1.12 of lockf.c fixed a "thundering herd" scenario when the
Branches
Unknown
Tags
Unknown

Event Timeline