RFC pidfs: allow retrieval of namespace descriptors
Get series with b4
b4 am [email protected] change-id 20240627-work-pidfs-fd415f4d3cd1Versions newest first
- v1 RFC Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | file: add take_fd() cleanup helperinclude/ include/ | +10 | 2 replies | |
| 2/4 | nsproxy: add a cleanup helper for nsproxyinclude/ | +2 | 0 replies | |
| 3/4 | nsfs: add open_namespace()fs/ fs/ | +32 | 0 replies | |
| 4/4 | pidfs: allow retrieval of namespace file descriptorsfs/ include/ | +106 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jeff Layton | Josef Bacik | Alexander Mikhalitsyn |
|---|---|---|---|
| Series | R-b | R-b | R-b |
| 1/4 | |||
| 2/4 | |||
| 3/4 | |||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH RFC 0/4] pidfs: allow retrieval of namespace descriptors
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.
Thanks!
Christian
---
---
base-commit: 2a79498f76350570427af72da04b1c7d0e24149e
change-id: 20240627-work-pidfs-fd415f4d3cd1