Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5947944pxb; Mon, 14 Feb 2022 11:24:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJxiJwIIvADGQfB2ROkOKIwljrmMEWKrFSlpzmECVQHnRX/34gXyjP+90jBWdfwzSpyTkaPR X-Received: by 2002:a05:6a00:2350:: with SMTP id j16mr583827pfj.78.1644866696003; Mon, 14 Feb 2022 11:24:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644866695; cv=none; d=google.com; s=arc-20160816; b=Uobgm7zVqFtlkF5/ue3SBUt4pirspz3iFPhVR1ovFYuzun6nJRkaS9BA78hQM52US+ 9vQzLj11ILbSEp1EkLcfTVEQNeban3LZ0jbsraD8Zc+oWc715ULEM4hsvL6HqtZtE9/Q j6nz8d2xVhGNY1gfFS1NY+9+3HWCy6cdWYjaK0Uv2WQgNX5vBccdTFxcKhqsEbT2j3PO 5Cyccn0zn5xlghfzYvwNL62ycOhqy0BXlrNQMqgX7lRB1USXR4muFXE6gKuPfAiYtW5/ KfPpOZbGdZMaKhHT1NTr/w0Fy2w2/5imnhDHTd4f3TxqksaL8CekS3U30A1wBkRtBqK+ y6ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=BaO4Pp81gQPaiF8BsZxgo6Ch23VMstnQSFfgjCc0PDI=; b=uVffiZlZWJ5tBt7wNOP8oAkL92xB49pP88/TbvoF1VYIt3FSmJMcrkk0vL62nGflA4 0Y1qI/qBxOYLyMJV7pv6xNZ3MWW1eNBzzOB+B47zUJJcoZo4xcBT0AlNwCPRYhelsfbe 5a4XHG8m36RvgUAtyfZJHXX4AQctp2sI4YrJqy3obrmTGQbEUZJFzei9E8jlnbTae6RP ABpZiHA7WM9X6OB8AhQ6QO49fVY5GvT2wQoF1I8ospb7nmXCStT3jyBCD0qgFhrlWNB8 fjDYRt4M0e2oF2mkN4zyZ8UZ/oJKJCib9WjS5OEWlRgMfeYhHxliFWlFFFN1XdG1jhHB LRZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e15si27262385pfi.165.2022.02.14.11.24.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 11:24:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CAE01D7633; Mon, 14 Feb 2022 11:15:46 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357409AbiBNSUN convert rfc822-to-8bit (ORCPT + 99 others); Mon, 14 Feb 2022 13:20:13 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:33330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229684AbiBNSUJ (ORCPT ); Mon, 14 Feb 2022 13:20:09 -0500 X-Greylist: delayed 67 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 14 Feb 2022 10:20:01 PST Received: from us-smtp-delivery-44.mimecast.com (us-smtp-delivery-44.mimecast.com [205.139.111.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 863BB652F8 for ; Mon, 14 Feb 2022 10:20:01 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-50-1WN-g-mKN5yG-edIyRc2Qg-1; Mon, 14 Feb 2022 13:18:48 -0500 X-MC-Unique: 1WN-g-mKN5yG-edIyRc2Qg-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A2A6E814243; Mon, 14 Feb 2022 18:18:46 +0000 (UTC) Received: from comp-core-i7-2640m-0182e6.redhat.com (unknown [10.36.110.3]) by smtp.corp.redhat.com (Postfix) with ESMTP id B4B5584784; Mon, 14 Feb 2022 18:18:41 +0000 (UTC) From: Alexey Gladkov To: LKML , Linux Containers Cc: Alexander Mikhalitsyn , Andrew Morton , Christian Brauner , Daniel Walsh , Davidlohr Bueso , "Eric W . Biederman" , Kirill Tkhai , Manfred Spraul , Serge Hallyn , Varad Gautam , Vasily Averin Subject: [PATCH v4 0/2] ipc: Store mq and ipc sysctls in the ipc namespace Date: Mon, 14 Feb 2022 19:18:13 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=legion@kernel.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: kernel.org Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset=WINDOWS-1252 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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. -- 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(-) -- 2.33.0