Messages in this thread | | | From | "Eric W. Biederman" <> | Date | Wed, 23 Mar 2022 15:24:18 -0500 | 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@xmission.com>
Eric
| |