Skip to content

Spawn a subprocess with lower priviledges when handling container images #6551

@kzys

Description

@kzys

What is the problem you're trying to solve

containerd is often running as root and tends to have multiple Linux capabilities for issuing privileged syscalls such as mount(2). We could extract some parts of containerd to less-privileged subprocesses (like shims) to handle less-trusted inputs such as container images.

Describe the solution you'd like

Define areas we'd like to reduce privileges/capabilities and extract them into subprocesses (either forking containerd and drop permissions or having a special-purpose executable).

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions