From: Alexey Gladkov <legion@kernel.org>
To: LKML <linux-kernel@vger.kernel.org>,
Linux Containers <containers@lists.linux.dev>
Cc: Alexander Mikhalitsyn <alexander.mikhalitsyn@virtuozzo.com>,
Andrew Morton <akpm@linux-foundation.org>,
Christian Brauner <christian.brauner@ubuntu.com>,
Daniel Walsh <dwalsh@redhat.com>,
Davidlohr Bueso <dbueso@suse.de>,
"Eric W . Biederman" <ebiederm@xmission.com>,
Kirill Tkhai <ktkhai@virtuozzo.com>,
Manfred Spraul <manfred@colorfullife.com>,
Serge Hallyn <serge@hallyn.com>,
Varad Gautam <varad.gautam@suse.com>,
Vasily Averin <vvs@virtuozzo.com>
Subject: [RFC PATCH v3 0/4] ipc: Store mq and ipc sysctls in the ipc namespace
Date: Fri, 21 Jan 2022 14:08:37 +0100 [thread overview]
Message-ID: <cover.1642769810.git.legion@kernel.org> (raw)
In-Reply-To: <87tuebwo99.fsf@email.froward.int.ebiederm.org>
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
next prev parent reply other threads:[~2022-01-21 13:10 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-03 16:04 [PATCH v1] ipc: Store mqueue sysctls in the ipc namespace Alexey Gladkov
2022-01-03 20:41 ` kernel test robot
2022-01-03 20:41 ` kernel test robot
2022-01-04 5:28 ` kernel test robot
2022-01-04 5:28 ` kernel test robot
2022-01-04 11:51 ` [PATCH v2] " Alexey Gladkov
2022-01-04 18:13 ` Manfred Spraul
2022-01-04 18:42 ` Eric W. Biederman
2022-01-04 20:48 ` Manfred Spraul
2022-01-04 22:17 ` Eric W. Biederman
2023-09-08 15:47 ` Daniel Walsh
2023-09-10 18:51 ` Andrew Morton
2022-01-10 16:26 ` Eric W. Biederman
2022-01-21 13:08 ` Alexey Gladkov [this message]
2022-01-21 13:08 ` [RFC PATCH v3 1/4] " Alexey Gladkov
2022-01-21 13:08 ` [RFC PATCH v3 2/4] ipc: Store ipc " Alexey Gladkov
2022-01-21 13:08 ` [RFC PATCH v3 3/4] ipc: Merge ipc_sysctl and mq_sysctl Alexey Gladkov
2022-01-21 13:08 ` [RFC PATCH v3 4/4] ipc: Allow to modify ipc/mq sysctls if CAP_SYS_RESOURCE is present Alexey Gladkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1642769810.git.legion@kernel.org \
--to=legion@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=alexander.mikhalitsyn@virtuozzo.com \
--cc=christian.brauner@ubuntu.com \
--cc=containers@lists.linux.dev \
--cc=dbueso@suse.de \
--cc=dwalsh@redhat.com \
--cc=ebiederm@xmission.com \
--cc=ktkhai@virtuozzo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
--cc=serge@hallyn.com \
--cc=varad.gautam@suse.com \
--cc=vvs@virtuozzo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.