Files
containerd/core/mount
user.email ef7a8beb37 core/mount: add test for getUnprivilegedMountFlags
Mounts a tmpfs with MS_NOEXEC, MS_NOATIME, and MS_NODIRATIME and
verifies that getUnprivilegedMountFlags detects all of them. These
three flags were the ones missed by the range-over-indices bug.

Also verifies that flags not present on the mount (MS_NOSUID,
MS_NODEV, MS_RDONLY) are not falsely reported.

Signed-off-by: Luke Hinds <luke@stacklok.com>
2026-02-26 10:38:35 +00:00
..
2025-09-29 17:08:31 -07:00