gvisor/runsc
Ayush Ranjan 2b0615c76c [op] Prevent file leak in MultiGetAttr's error path.
The old implementation was mostly correct but error prone - making way for the
issue in question here. In its error path, it would leak the intermediate file
being walked. Each return/break needed explicit cleanup.

This change implements a more clean way to cleaning up intermediate directories.
If the code were to evolve to be more complex, it would still work.

PiperOrigin-RevId: 392102826
2021-08-20 17:51:34 -07:00
..
boot Add loopback interface as an ethernet-based device 2021-08-19 13:54:53 -07:00
cgroup Fix GoLand analyzer errors under runsc/... 2021-07-12 16:45:33 -07:00
cli Fix GoLand analyzer errors under runsc/... 2021-07-12 16:45:33 -07:00
cmd Add Event controls 2021-08-13 14:20:12 -07:00
config Add control configs 2021-08-18 13:13:49 -07:00
console Add support for TTY in multi-container 2020-11-17 14:51:24 -08:00
container Add Event controls 2021-08-13 14:20:12 -07:00
flag Add go:build directives as required by Go 1.17's gofmt. 2021-07-20 16:28:45 -07:00
fsgofer [op] Prevent file leak in MultiGetAttr's error path. 2021-08-20 17:51:34 -07:00
mitigate [SMT] Refactor runsc mititgate 2021-08-06 11:10:54 -07:00
sandbox Add Event controls 2021-08-13 14:20:12 -07:00
specutils Add go:build directives as required by Go 1.17's gofmt. 2021-07-20 16:28:45 -07:00
BUILD Clean test tags. 2021-04-20 13:11:25 -07:00
main.go Remove legacy bazel configurations. 2020-10-19 16:28:40 -07:00
version.go Add go:build directives as required by Go 1.17's gofmt. 2021-07-20 16:28:45 -07:00
version_test.sh Standardize on tools directory. 2020-01-27 12:21:00 -08:00