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.
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 aos.Process, and I'm curious if it's possible to make landlock restrict a givenos.Process. It would allow the job queue to lock down jobs, and restricting their access to the job queue's internal state files.