ipc: Remove extra1 field abuse to pass ipc namespace
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ipc: Remove extra1 field abuse to pass ipc namespaceipc/ | +8 | 1 reply | |
| 1/4 | sysctl: API extension for handling sysctlfs/ include/ | +77 | 5 replies | |
| 2/4 | ipc: Use proper ipc namespaceipc/ | +1 | 6 replies | |
| 2/4 | sysctl: ipc: Do not use dynamic memoryinclude/ ipc/ ipc/ | +121 | 5 replies | |
| 3/4 | ipc: Check permissions for checkpoint_restart sysctls at open timeipc/ | +29 | 0 replies | |
| 3/4 | sysctl: userns: Do not use dynamic memoryinclude/ kernel/ kernel/ | +46 | 0 replies | |
| 4/4 | ipc: Remove extra bracesipc/ | +12 | 0 replies | |
| 4/4 | sysctl: mqueue: Do not use dynamic memoryinclude/ ipc/ ipc/ +1 more | +79 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/4] ipc: Remove extra1 field abuse to pass ipc namespace
These patches are made on top of branch:
git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git per-namespace-ipc-sysctls-for-v5.18
After discussion, I took into account Eric Biederman's fixes. With these changes, the hacks of passing namespace through .extra1 are not required.
With the current design of sysctl dynamic memory allocation is necessary.
Yes, Linus, these changes are not the refactoring you were talking about, but I plan to try to do such a refactoring in the my next patchset.
--
Alexey Gladkov (4):
ipc: Remove extra1 field abuse to pass ipc namespace
ipc: Use proper ipc namespace
ipc: Check permissions for checkpoint_restart sysctls at open time
ipc: Remove extra braces
ipc/ipc_sysctl.c | 108 +++++++++++++++++++++-------------------------- 1 file changed, 49 insertions(+), 59 deletions(-)
Signature · 1 line
2.33.2