Skip to content

Landlock only subprocesses (without the parent) #45

Description

@MarcCoquand

Hi!

I'm working on a job queue that executes jobs using cmd.Exec(...). I understand it that the API landlocks the entire process because the mapping is not guaranteed between an OS thread and a goroutine. But in this case cmd.Exec exposes a os.Process, and I'm curious if it's possible to make landlock restrict a given os.Process. It would allow the job queue to lock down jobs, and restricting their access to the job queue's internal state files.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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