Skip to content

Support Landlock LSM #6056

@BoardzMaster

Description

@BoardzMaster

What is the problem you're trying to solve

Adding Landlock support in containerd.
Landlock is a stackable LSM providing unprivileged access control for a set of processes.
It was merged in mainline Linux 5.13. Its author Mickaël Salaün @l0kod, https://landlock.io/.
I suppose Landlock will bring better sandboxing with unprivileged features and improve container security.

Describe the solution you'd like

Now Landlock's integration works (for runtime-spec and runc) have been in progress for some time:

  1. Proposal: add Landlock LSM support opencontainers/runtime-spec#1110
  2. Support Landlock LSM? opencontainers/runc#2859, libcontainer: add support for Landlock opencontainers/runc#3194

Containerd Landlock implementation depends on runtime-spec --> runc solutions, so it's just a start. I'm going to show my point of view on architecture a bit later.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    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