• Odin Ugedal's avatar
    Fix closing of dirs in doSafeMakeDir · d1796500
    Odin Ugedal authored
    This fixes the issue where "childFD" from syscall.Openat is assigned to
    a local variable inside the for loop, instead of the correct one in the
    function scope. This results in that when trying to close the "childFD"
    in the function scope, it will be equal to "-1", instead of the correct
    value.
    d1796500
Name
Last commit
Last update
..
BUILD Loading commit data...
OWNERS Loading commit data...
subpath.go Loading commit data...
subpath_linux.go Loading commit data...
subpath_linux_test.go Loading commit data...
subpath_nsenter.go Loading commit data...
subpath_nsenter_test.go Loading commit data...
subpath_unsupported.go Loading commit data...
subpath_windows.go Loading commit data...
subpath_windows_test.go Loading commit data...