Tags: derMonarch/hcsshim
Tags
Merge pull request microsoft#875 from katiewasnothere/modify_memory Add calls to modify UVM memory size and tests
Merge pull request microsoft#799 from microsoft/fix_test_go_mods Update test vendor with up to date hcsshim and containerd/containerd/log
Fix race condition in legacy process stdio code HcsCreateProcess returns a set of stdio handles for the newly created process. A while ago, we used to cache these handles and return them the first time stdio handles were requested for the process, and then get new handles via HcsGetProcessInfo for each subsequent request. At some point, this code was cleaned up to instead always return the original set of handles as non-closable (for new callers) and always get new handles via HcsGetProcessInfo (for legacy callers, who required closable handles). However, this change introduced a race condition for legacy callers, where in the case of a short lived container process, the container could have terminated between when it was started and when the orchestrator requested stdio handles. This led to ERROR_NOT_FOUND being returned from HcsGetProcessInfo. This change addresses this by returning the original handles the first time stdio handles are requested, and then calling HcsGetProcessInfo for every subsequent request (just as it used to work a while ago). Signed-off-by: Kevin Parsons <kevpar@microsoft.com>
Merge pull request microsoft#469 from Quasilyte/patch-1 internal/safeopen: fix strings.Contains args order
Merge pull request microsoft#460 from Microsoft/go_runhcs_path Allow relative path match for runhcs.exe
Merge pull request microsoft#459 from Microsoft/vmlinux Add decompressed kernel support for LCOW start
Merge pull request microsoft#409 from Microsoft/uvm_lcow_kernel_opts More LCOW boot opts
Merge pull request microsoft#390 from Microsoft/runhcs_cmd_context Store the runhcs.exe path for faster invocation
Merge pull request microsoft#370 from Microsoft/jjh/annotations2 Fix panic
PreviousNext