spiegel_podman/cmd
Paul Holzinger 0fa3043415
add missing O_CLOEXEC to open calls
The go std os package to will always make sure to use O_CLOEXEC, however
in cases where we directly call unix.Open() we need to pass that flag
explicitly.

I looked at this as there was a report of a leaked fd on the pasta list,
though I am not sure this will address it.

But anyway doing this should be rather safe and avoid leaks into other
processes.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
(cherry picked from commit d20933df02)
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-04-09 14:23:52 +02:00
..
podman [v5.8] Fix unless-stopped containers not restarting after ... 2026-03-19 19:40:30 -04:00
podman-mac-helper lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
podman-testing Fix missing newlines in stderr error messages 2026-02-06 13:46:36 -05:00
podman-wslkerninst WSL commands execution refactoring 2025-07-02 20:18:52 +00:00
quadlet fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
rootlessport add missing O_CLOEXEC to open calls 2026-04-09 14:23:52 +02:00
winpath use strings.SplitSeq where possible 2025-09-10 16:17:04 +02:00