-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignore access denied on HcsTerminateProcess #1252
Ignore access denied on HcsTerminateProcess #1252
Conversation
0bd84c5
to
51ed656
Compare
This looks good to me; though I am not sure why |
Oop @gabriel-samfira beat me to it |
make sure to |
When calling HcsTerminateProcess on a process that has exited, but we still have open handles to, an ERROR_ACCESS_DENIED may be returned. https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-terminateprocess#remarks Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
51ed656
to
98c1b41
Compare
done! Thanks! |
When calling HcsTerminateProcess on a process that has exited, but we still have open handles to, an ERROR_ACCESS_DENIED may be returned. https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-terminateprocess#remarks Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com> (cherry picked from commit 58caeed) Signed-off-by: Daniel Canter <dcanter@microsoft.com>
When calling HcsTerminateProcess on a process that has exited, but we still have open handles to, an ERROR_ACCESS_DENIED may be returned. https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-terminateprocess#remarks Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com> (cherry picked from commit 58caeed) Signed-off-by: Daniel Canter <dcanter@microsoft.com>
@dcantah @jsturtevant do you know whether we can pick this fix in docker? |
Rather than this PR, I suggest looking at: #1275 Actually, I would suggest to have a look at all the fixes merged in 0.9.2: https://github.com/microsoft/hcsshim/releases/tag/v0.9.2 if those fixes are not currently present in docker. |
When calling HcsTerminateProcess on a process that has exited, but we still have open handles to, an ERROR_ACCESS_DENIED may be returned. https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-terminateprocess#remarks Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
When calling HcsTerminateProcess on a process that has exited, but we still have open handles to, an ERROR_ACCESS_DENIED may be returned.
https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-terminateprocess#remarks
Fixes: #1251