• James Forshaw's avatar
    Convert process mitigations to delayed form. · fd2a42e4
    James Forshaw authored
    Due to a bug in CreateProcess when enabling an AppContainer profile and
    setting process mitigations at the same time CreateProcess will fail
    with ERROR_INVALID_PARAMETER. This is due to CreateProcess internally
    enabling some mitigations such as force image relocation. To try and
    preserve the set mitigations we convert all possible to delayed
    mitigations instead. This CL also fixes a typo in a member variable name.
    
    Bug: 760977
    Change-Id: I45f65c5ba5bab83270fcf113fbc6fbae66caa7a0
    Reviewed-on: https://chromium-review.googlesource.com/902047Reviewed-by: default avatarPenny MacNeil <pennymac@chromium.org>
    Commit-Queue: James Forshaw <forshaw@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#534754}
    fd2a42e4
sandbox_policy_base.cc 22.9 KB