spiegel_podman/pkg/domain
Giuseppe Scrivano 2f710723df
images: fix segfault when mounting without cap_sys_admin
commit c6fe5e5395 rearranged the code so
that it accesses the store before checking if the current process has
CAP_SYS_ADMIN.

Restore the check and augment it to also check for CAP_SYS_ADMIN.

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

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2025-02-06 16:05:27 +01:00
..
entities Add type and annotations to artifact add 2025-01-31 09:53:03 -06:00
filters Replace golang.org/x/exp/slices with slices from std 2024-04-23 11:16:40 +02:00
infra images: fix segfault when mounting without cap_sys_admin 2025-02-06 16:05:27 +01:00
utils Add type and annotations to artifact add 2025-01-31 09:53:03 -06:00