diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-04-18 10:27:08 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2019-04-18 14:32:46 +0200 |
commit | 0dfb61d8064feaae1ac83fcfb15514c30cb8ca28 (patch) | |
tree | 9c63eac5c5b8687d56d024a90dca9c26d6abe599 /cni/87-podman-bridge.conflist | |
parent | bf5ffdafb40f32fac891a8cd5fc64cfd5b77674f (diff) | |
download | podman-0dfb61d8064feaae1ac83fcfb15514c30cb8ca28.tar.gz podman-0dfb61d8064feaae1ac83fcfb15514c30cb8ca28.tar.bz2 podman-0dfb61d8064feaae1ac83fcfb15514c30cb8ca28.zip |
rootless: not close more FDs than needed
we were previously closing as many FDs as they were open when we first
started Podman in the range (3-MAX-FD). This would cause issues if
there were empty intervals, as these FDs are later on used by the
Golang runtime. Store exactly what FDs were first open in a fd_set,
so that we can close exactly the FDs that were open at startup.
Closes: https://github.com/containers/libpod/issues/2964
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'cni/87-podman-bridge.conflist')
0 files changed, 0 insertions, 0 deletions