mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
7094efb192
While it doesn't make much of a practical difference, it seems far more reasonable to use os.NewFile to wrap all of our passed file descriptors to make sure they're tracked by the Go runtime and that we don't double-close them. Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>