Skip to content

Process spawning should expose the ability to drop capabilities on linux #12137

Closed
@alexcrichton

Description

@alexcrichton

More information can be found in this comment: #12085 (comment)

The idea is that when you attempt to drop privileges when spawning (setuid, setgid etc) you should in theory be dropping all privileges of the previous user. We're already doing some special stuff with setgroups, and it sounds like capabilities should also be dropped.

cc @bnoordhuis

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