[PATCH v2 0/2] Fix pdump and dumpcap leaks on SIGTERM

Stephen Hemminger stephen at networkplumber.org
Wed May 29 18:08:05 CEST 2024


Fix bug where dumpcap and pdump programs would leave resources
if killed with SIGTERM (or if file gets full).

v2 - rebase and rewording

Stephen Hemminger (2):
  app/dumpcap: handle SIGTERM and SIGHUP
  app/pdump: handle SIGTERM and SIGHUP

 app/dumpcap/main.c | 14 ++++++++++++--
 app/pdump/main.c   | 21 +++++++++++++++------
 2 files changed, 27 insertions(+), 8 deletions(-)

-- 
2.43.0



More information about the dev mailing list