Skip to content

implement RESOLVE_ALLOW_XDEV_SAME #394

Description

@cyphar

In #385 we just skip errors related to /proc/sys but for those kinds of mounts it should be fine to permit mountpoint crossings if the mountpoint and the overmount root are the same filesystem (fsid) as that means that the overlay is the exact same contents just a different set of vfs flags -- which are safe.

Of course, this implies we will need it for openat2 as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api/procfsRelated to the procfs API.linux/upstreamDependent on upstream kernel work.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions