Support the nsfs ioctls
Open
systemd
type: enhancement
- Dominant language
- Go
- Stars
- 19.3k
- Forks
- 2k
- Avg merge
- 3d 5h
- Merged PRs (30d)
- 264
Description
### Description
Implement NS_GET_NSTYPE (and its siblings NS_GET_USERNS/NS_GET_PARENT/NS_GET_OWNER_UID) in gVisor's nsfs.
### Is this feature related to a specific bug?
_No response_
### Do you have a specific solution in mind?
_No response_
Contributor guide
Research direction
Start by locating gVisor's nsfs implementation and its existing ioctl handling, then compare the requested NS_GET_NSTYPE, NS_GET_USERNS, NS_GET_PARENT, and NS_GET_OWNER_UID operations with Linux behavior. Done means all four ioctls are supported with compatible results and covered by the relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100