[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <877d8kfmdp.fsf@email.froward.int.ebiederm.org>
Date: Wed, 23 Mar 2022 15:24:18 -0500
From: "Eric W. Biederman" <ebiederm@...ssion.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
Linux Containers <containers@...ts.linux.dev>,
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>,
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>,
Alexey Gladkov <legion@...nel.org>
Subject: [GIT PULL] ipc: Bind to the ipc namespace at open time.
Linus,
Please pull the per-namespace-ipc-sysctls-for-v5.18 tag from the git tree:
git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git per-namespace-ipc-sysctls-for-v5.18
HEAD: 1f5c135ee509e89e0cc274333a65f73c62cb16e5 ipc: Store ipc sysctls in the ipc namespace
The per ipc namespace sysctls have been imperfect since they were
implemented. Instead of binding to the ipc namespace of the opener of
the file the code bound to the ipc namespace of the writer of the
file.
This short series of changes addresses that old deficiency in the
code.
Alexey Gladkov (2):
ipc: Store mqueue sysctls in the ipc namespace
ipc: Store ipc sysctls in the ipc namespace
include/linux/ipc_namespace.h | 37 ++++++++-
ipc/ipc_sysctl.c | 189 +++++++++++++++++++++++++++---------------
ipc/mq_sysctl.c | 121 +++++++++++++++------------
ipc/mqueue.c | 10 +--
ipc/namespace.c | 10 +++
5 files changed, 235 insertions(+), 132 deletions(-)
Signed-off-by: "Eric W. Biederman" <ebiederm@...ssion.com>
Eric
Powered by blists - more mailing lists