On Thu, Jun 27, 2024 at 04:11:38PM +0200, Christian Brauner wrote: > In recent discussions it became clear that having the ability to go from > pidfd to namespace file descriptor is desirable. Not just because it is > already possible to use pidfds with setns() to switch namespaces > atomically but also because it makes it possible to interact with > namespaces without having procfs mounted solely relying on the pidfd. > > This adds support from deriving a namespace file descriptor from a > pidfd for all namespace types. > I love this, just have the one comment about documenting how the take_fd() thing works, but then you can add Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx> Thanks, Josef