spiegel_podman/pkg/specgen
0xdvc 35c602bfbb fix: improve userns validation when joining pods
- remove old CLI validation that only checked --pod flag
- add validation in namespaces.go to catch all paths (cli, quadlet, api)
- block userns mixing for all pods with infra, not just ipc/net
- update error message to be clearer
- fix test cleanup to use PodmanExitCleanly()
- use dynamic pod names in system tests to avoid conflicts

fixes #26848

Signed-off-by: 0xdvc <neilohene@gmail.com>

<MH: Fixed cherry-pick conflicts>

Signed-off-by: Matt Heon <matthew.heon@pm.me>
2026-02-06 15:36:47 -05:00
..
generate fix: improve userns validation when joining pods 2026-02-06 15:36:47 -05:00
container_validate.go Replace golang.org/x/exp/slices with slices from std 2024-04-23 11:16:40 +02:00
namespaces.go Fix --userns=ns:<path> conflicting with runc 1.1.11+ 2025-10-07 15:45:45 +02:00
namespaces_test.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
pod_validate.go Add --hosts-file flag to container and pod commands 2024-11-24 22:00:34 -05:00
podspecgen.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00
resources_freebsd.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
resources_linux.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
specgen.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00
specgen_local.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
specgen_remote.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
specgen_test.go Convert SpecGen values to be nullable where possible 2024-01-30 10:42:24 -05:00
utils.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
utils_linux.go pkg/specgen: error out when a block device isn't 2025-06-10 13:50:02 -07:00
volumes.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
volumes_linux_test.go fix: mounting issue with single character volume on windows 2025-03-26 17:57:52 +01:00
volumes_windows_test.go [Fixes: #27571] Fix 'shouldResolveWinPaths' returning 'false' on Windows 2026-02-06 15:36:47 -05:00
winpath.go Introduce podman machine cp command 2025-02-28 09:56:46 -05:00
winpath_linux.go [Fixes: #27571] Fix 'shouldResolveWinPaths' returning 'false' on Windows 2026-02-06 15:36:47 -05:00
winpath_unsupported.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
winpath_windows.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00