libpathrs icon indicating copy to clipboard operation
libpathrs copied to clipboard

procfs: add pidns= mount option

Open cyphar opened this issue 5 months ago • 2 comments

At the moment, procfs automatically assumes task_active_pid_ns(current) when you create a new filesystem, but it would be really handy for container runtimes to be able to specify the PID namespace manually. It would also make creating empty procfs instances (to avoid mnt_too_revealing restrictions) much easier.

I'm not sure if we would use this in libpathrs, but this is an obvious sister feature to #216.

cyphar avatar Jul 16 '25 17:07 cyphar