Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

implement RESOLVE_ALLOW_XDEV_SAME

Open
#394 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
44/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
linux, rust

Research direction

Read issue #385 and trace how mount crossing errors are handled, then find the path resolution implementations for the existing resolve flags and openat2. Determine how the project represents and compares filesystem IDs (fsid) for a mountpoint and its overmount root. The issue is done when RESOLVE_ALLOW_XDEV_SAME permits crossings only when those IDs match and the behavior is supported for openat2.

Written by the indexing model from the issue text.

Description

api/procfs linux/upstream

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.

Dominant language
Rust
Stars
146
Forks
12
Avg merge
4d 18h
Merged PRs (30d)
1

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cyphar/libpathrs

All issues in cyphar/libpathrs

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.