Files
Daniel J Walsh ad8a96ab95 Support running nested SELinux container separation
Currently Podman prevents SELinux container separation,
when running within a container. This PR adds a new
--security-opt label=nested

When setting this option, Podman unmasks and mountsi
/sys/fs/selinux into the containers making /sys/fs/selinux
fully exposed. Secondly Podman sets the attribute
run.oci.mount_context_type=rootcontext

This attribute tells crun to mount volumes with rootcontext=MOUNTLABEL
as opposed to context=MOUNTLABEL.

With these two settings Podman inside the container is allowed to set
its own SELinux labels on tmpfs file systems mounted into its parents
container, while still being confined by SELinux. Thus you can have
nested SELinux labeling inside of a container.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2023-03-13 14:21:12 -04:00
..
2023-01-03 16:39:41 -05:00
2022-09-06 09:37:13 -07:00
2022-12-07 09:29:29 -05:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-12-07 09:29:29 -05:00
2022-09-06 09:37:13 -07:00
2022-11-01 15:30:17 -04:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-12-07 09:29:29 -05:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-12-07 09:29:29 -05:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-09-06 09:37:13 -07:00
2022-12-16 10:24:29 +01:00