[RFC PATCH v3 0/4] ipc: Store mq and ipc sysctls in the ipc namespace
From: Alexey Gladkov
Date: Fri Jan 21 2022 - 08:09:16 EST
This patchset changes the implementation of mq and ipc sysctls. It moves the
sysctls inside the ipc namespace.This will allow us to manage these sysctls
inside the user namespace. The implementation also removes helpers duplication
between mq and ipc sysctls.
--
Alexey Gladkov (4):
ipc: Store mqueue sysctls in the ipc namespace
ipc: Store ipc sysctls in the ipc namespace
ipc: Merge ipc_sysctl and mq_sysctl
ipc: Allow to modify ipc/mq sysctls if CAP_SYS_RESOURCE is present
include/linux/ipc_namespace.h | 24 ++-
ipc/Makefile | 7 +-
ipc/ipc_sysctl.c | 318 +++++++++++++++++++++++++++-------
ipc/mq_sysctl.c | 120 -------------
ipc/mqueue.c | 7 -
ipc/namespace.c | 6 +
ipc/util.h | 4 +-
7 files changed, 273 insertions(+), 213 deletions(-)
delete mode 100644 ipc/mq_sysctl.c
--
2.33.0