[RFC PATCH v3 0/4] ipc: Store mq and ipc sysctls in the ipc namespace

Alexey Gladkov posted 4 patches 4 years, 5 months ago
There is a newer version of this series
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
[RFC PATCH v3 0/4] ipc: Store mq and ipc sysctls in the ipc namespace
Posted by Alexey Gladkov 4 years, 5 months ago
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