Skip to content

Landlock support #1550

@CuriouslyCurious

Description

@CuriouslyCurious

Having searched through issues and PRs I have not seen any direct mentions of adding support for Landlock - the new-ish userspace-sandboxing syscalls initially added in the Linux kernel version 5.13, so here is that mention.

Documentation for the kernel feature is available here.

There is already a crate made by the original author, which is actively maintaining it. However, it directly uses libc for the syscalls, thus is not purely written in Rust, which is a shame.

Is there interest in adding support for the landlock syscalls directly in rustix or should one use the official landlock crate instead and have to live with the libc dependency?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions