Wireshark-commits: [Wireshark-commits] master a2f9267: Windows: Always assign newly-created process

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 13 Mar 2018 17:18:42 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a2f926761525ac67feeda742a796917a1f043b33
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

a2f9267 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Windows: Always assign newly-created processes to our job.
    
    Move ws_pipe_kill_child_on_exit to win32-utils. Add win32_create_process,
    which calls CreateProcess + AssignProcessToJobObject. Use
    win32_create_process instead of CreateProcess everywhere.
    
    Bug: 1419
    Change-Id: I7a1f17dddf6a73f6973d54621f271b69311400d1
    Reviewed-on: https://code.wireshark.org/review/26448
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  0874b8b   Remove popcount in favor of ws_count_ones.
    adds  a2f9267   Windows: Always assign newly-created processes to our job.


Summary of changes:
 capchild/capture_sync.c        | 17 +++-------
 docbook/release-notes.asciidoc |  6 ++--
 sharkd_daemon.c                |  8 ++---
 wsutil/win32-utils.c           | 75 ++++++++++++++++++++++++++++++++++++++++--
 wsutil/win32-utils.h           | 22 +++++++++++++
 wsutil/ws_pipe.c               | 62 ++--------------------------------
 wsutil/ws_pipe.h               |  2 +-
 7 files changed, 108 insertions(+), 84 deletions(-)