k3s/pkg/volume/util/subpath
Odin Ugedal 5f7e540651
Fix closing of dirs in doSafeMakeDir
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.
2019-07-02 18:25:15 +02:00
..
BUILD Refactor subpath out of pkg/util/mount 2019-02-26 19:59:53 -07:00
OWNERS Refactor subpath out of pkg/util/mount 2019-02-26 19:59:53 -07:00
subpath.go Refactor subpath out of pkg/util/mount 2019-02-26 19:59:53 -07:00
subpath_linux.go Fix closing of dirs in doSafeMakeDir 2019-07-02 18:25:15 +02:00
subpath_linux_test.go Refactor subpath out of pkg/util/mount 2019-02-26 19:59:53 -07:00
subpath_nsenter.go Refactor subpath out of pkg/util/mount 2019-02-26 19:59:53 -07:00
subpath_nsenter_test.go Refactor subpath out of pkg/util/mount 2019-02-26 19:59:53 -07:00
subpath_unsupported.go Refactor subpath out of pkg/util/mount 2019-02-26 19:59:53 -07:00
subpath_windows.go Refactor subpath out of pkg/util/mount 2019-02-26 19:59:53 -07:00
subpath_windows_test.go Refactor subpath out of pkg/util/mount 2019-02-26 19:59:53 -07:00