podman/pkg/util
Paul Holzinger 83863a6863
specgen: parse devices even with privileged set
When a users asks for specific devices we should still add them and not
ignore them just because privileged adds all of them.

Most notably if you set --device /dev/null:/dev/test you expect
/dev/test in the container, however as we ignored them this was not the
case. Another side effect is that the input was not validated at at all.
This leads to confusion as descriped in the issue.

Fixes #23132

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2024-07-01 11:46:34 +02:00
..
camelcase Fix typos 2023-02-11 18:23:24 +01:00
filters.go Replace strings.SplitN with strings.Cut 2024-01-11 13:50:15 +00:00
filters_test.go filters: use new FilterID function from c/common 2023-06-13 17:49:41 +02:00
kube.go Kube Play - allow creating image based volumes 2024-01-24 11:55:29 +02:00
mount_opts.go util: use private propagation with bind 2024-03-21 11:33:58 +01:00
mount_opts_linux.go util: rename files to snake case 2024-03-21 11:33:02 +01:00
mount_opts_other.go util: rename files to snake case 2024-03-21 11:33:02 +01:00
utils.go update golangci-lint to v1.59.0 2024-05-27 11:19:03 +02:00
utils_darwin.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
utils_freebsd.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
utils_linux.go specgen: parse devices even with privileged set 2024-07-01 11:46:34 +02:00
utils_linux_test.go Match VT device paths to be blocked from mounting exactly 2023-01-28 05:18:40 -05:00
utils_supported.go util: specify a not empty pause dir for root too 2024-05-06 12:14:00 +02:00
utils_test.go util: specify a not empty pause dir for root too 2024-05-06 12:14:00 +02:00
utils_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
utils_windows.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00