Wireshark-commits: [Wireshark-commits] master dcc3875: Add ws_pipe_kill_child_on_exit.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 09 Mar 2018 22:46:16 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dcc3875847d691776affae66dcfdb2ccfa5674e7
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

dcc3875 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Add ws_pipe_kill_child_on_exit.
    
    Add ws_pipe_kill_child_on_exit, which associates a child process handle
    with a job object that has the JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE
    flag set.
    
    Call it when we create a process in ws_pipe_spawn_sync and
    ws_pipe_spawn_async. Note that we might want to use it elsewhere.
    
    Change-Id: Ia0f6863ea4df0ab8623bb923a49da7776d83bd33
    Reviewed-on: https://code.wireshark.org/review/26398
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  5213c30   Regenerate dissector from updated template.
    adds  dcc3875   Add ws_pipe_kill_child_on_exit.


Summary of changes:
 wsutil/ws_pipe.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 55 insertions(+), 3 deletions(-)