spiegel_podman/pkg/specgenutil
Giuseppe Scrivano 01d397a658
podman: new option --preserve-fd
add a new option --preserve-fd that allows to specify a list of FDs to
pass down to the container.

It is similar to --preserve-fds but it allows to specify a list of FDs
instead of the maximum FD number to preserve.

--preserve-fd and --preserve-fds are mutually exclusive.

It requires crun since runc would complain if any fd below
--preserve-fds is not preserved.

Closes: https://github.com/containers/podman/issues/20844

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2023-12-05 10:16:41 +01:00
..
createparse.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
ports.go pkg: switch to golang native error wrapping 2022-07-08 08:54:47 +02:00
ports_test.go Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00
specgen.go podman: new option --preserve-fd 2023-12-05 10:16:41 +01:00
specgenutil_test.go The --ulimit option accepts the name with an RLIMIT_ prefix both upper and lower case 2023-04-06 18:20:28 +04:00
util.go add --module flag 2023-08-16 14:32:35 +02:00
util_test.go Unit tests for pkg/specgenutil pkg/signal 2022-04-25 14:48:39 -05:00
volumes.go new 'no-dereference' mount option 2023-11-21 13:17:58 +01:00
volumes_test.go Run codespell on code 2022-11-04 10:57:41 -04:00