Skip to content

Add new mount api for linux #744

@yujincheng08

Description

@yujincheng08

See https://brauner.io/2023/02/28/mounting-into-mount-namespaces.html

If we are going to use the above way to create mounts, we need the following system calls:

  • open_tree
  • move_mount
  • fsmount
  • fsconfig
  • fsopen
  • fspick

But I don't see them in linux_raw. Could them be added?

### Tasks
- [ ] https://github.com/bytecodealliance/rustix/pull/752
- [ ] https://github.com/bytecodealliance/rustix/pull/763

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions