[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1642769810.git.legion@kernel.org>
Date: Fri, 21 Jan 2022 14:08:37 +0100
From: Alexey Gladkov <legion@...nel.org>
To: LKML <linux-kernel@...r.kernel.org>,
Linux Containers <containers@...ts.linux.dev>
Cc: Alexander Mikhalitsyn <alexander.mikhalitsyn@...tuozzo.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Christian Brauner <christian.brauner@...ntu.com>,
Daniel Walsh <dwalsh@...hat.com>,
Davidlohr Bueso <dbueso@...e.de>,
"Eric W . Biederman" <ebiederm@...ssion.com>,
Kirill Tkhai <ktkhai@...tuozzo.com>,
Manfred Spraul <manfred@...orfullife.com>,
Serge Hallyn <serge@...lyn.com>,
Varad Gautam <varad.gautam@...e.com>,
Vasily Averin <vvs@...tuozzo.com>
Subject: [RFC PATCH v3 0/4] ipc: Store mq and ipc sysctls in the ipc namespace
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
Powered by blists - more mailing lists