From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795154290; b=nHcFMD+IPTPJNfXXDiRStQlCJ5xrpo77lEL5RQjJsBjzaol4Ry7Hzh+OgD7OXdVa9vrr /SJyDsigbvCOqQsmy9Qn1kHOVAmH2YyWJwkpLyp0w/Mh1Hg+biFSXUTa9JEOdT9INeDn9 P3eP7uCi6LnvDDqYtG2cm9SjyXjhHSOqAY9Y6gYnwdodpzBjNmG3fT7uKf/xhVj4zufy0 w7GzcD/EzXvd1WekeMPK1ImdM5RR3qPYo3ty6uRn9EW7DyqSfTsgHQ5N+NbsbCyg7PbGD 0mJuw3Ep1MSZkmGpKEDR82J1JhSpr/otC4d+mOvxZS7moeBwLByGrUb822ye2Pctaxw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795154290; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=3J4zWN2xZSuepJxvtOxZd6Cv2PFcMo5B56sR2qMDpP8=; b=ppwHdD0Qt2xDSmVyP+IatxDgLL9oipW6DLQ6PxBRrOoaPtXGYSqYYXLEm1E4GC97+pHM foUeyVZBJJAfa6sNjdAjssTFjLuNHy3VC5J7ikxZ+mUEXS71YFAtK6OeK+5vOtvgx61rE iBB5aVrRHyuhX570EQGCP5iFfpRzHfqlM1Ecdcloud7O8+LlDferLKHKqM+x00NzRM6ju 9KpzzgWAUKo3VI5wzWD7S7H3gcsIvzZeOkAZAUYhz/yBJ1evYhW6vfTNLoBMVuUdJusoc brgdhAh6ZuIZtg/l3RHalrDLYNw+547Cy3v7mMlo0J2gRipYW4kkxQBrOB9rRS+9RGA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=SAKS3ST4; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with UTF8SMTPS id 3FA3860A2603; Fri, 20 Nov 2026 05:58:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=SAKS3ST4 Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id 535581F000EB; Fri, 20 Nov 2026 05:58:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795154290; bh=3J4zWN2xZSuepJxvtOxZd6Cv2PFcMo5B56sR2qMDpP8=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=SAKS3ST4i7tiUXuSP7l7klGig8K851mCaNcA83yfT7HS5evQwuV9pHxHXPYNRVoBN OECH81IdbXkatDGtQDTEbZ0S0zjQEdVbnmzdw9mOYz1Xg30Zaplgj5W19nP62y6YlV Tri0TfVHScfjfdkqkwMEqDkkVdZoLgLFmUKDwq/GJAQHq+lyIRFPSxG1deSxZD/b8w aozC4d3ZTBXnBMBMor/w9ZkVSDiVqdnfcfimj2dN+sC1cm0iMw+VPyVRobRXELJYS6 2S8q7BhHWzui3oDk1v9py06mOrro/JTr5AlYK88Mj3Em8Yv5p5dWVOcoaGbo7wvjA3 aTGgS+xSE9t4w== Date: Fri, 20 Nov 2026 07:58:06 +0200 From: Jarkko Sakkinen To: linux-fsdevel@vger.kernel.org Cc: linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, linux-security-module@vger.kernel.org, Albert Ou , Alexander Gordeev , Alexander Viro , Alexandre Ghiti , Andreas Larsson , Andrew Morton , Andy Lutomirski , Andy Lutomirski , Anna-Maria Behnsen , Arnd Bergmann , Ben Segall , Borislav Petkov , Casey Schaufler , Catalin Marinas , Christian Borntraeger , Christian Brauner , "Christophe Leroy (CS GROUP)" , Chris Zankel , Dave Hansen , David Hildenbrand , David Howells , Davidlohr Bueso , "David S. Miller" , Dietmar Eggemann , Frederic Weisbecker , Geert Uytterhoeven , "Hallgrimur H. Gunnarsson" , Heiko Carstens , Helge Deller , "H. Peter Anvin" , Ingo Molnar , "James E.J. Bottomley" , Jan Kara , John Johansen , John Paul Adrian Glaubitz , Jonathan Corbet , Josef Bacik , Juri Lelli , Kees Cook , K Prateek Nayak , "Liam R. Howlett" , Lorenzo Stoakes , Madhavan Srinivasan , Magnus Lindholm , Manfred Spraul , Mark Rutland , Matt Turner , Max Filippov , Mel Gorman , Michael Ellerman , Michal Hocko , Michal Simek , Mike Rapoport , Neal Gompa , Nicholas Piggin , Palmer Dabbelt , Paul Moore , Paul Walmsley , Pavel Tikhomirov , Peter Zijlstra , Randy Dunlap , Richard Henderson , Rich Felker , "Ritesh Harjani (IBM)" , Russell King , Serge Hallyn , Shrikanth Hegde , Shuah Khan , Steven Rostedt , Suren Baghdasaryan , Sven Schnelle , Thomas Bogendoerfer , Thomas Gleixner , Valentin Schneider , Vasily Gorbik , Vincent Guittot , Vincenzo Frascino , Vlastimil Babka , Will Deacon , Yoshinori Sato , Zygmunt Krynicki Subject: Re: [RFC PATCH v4 00/14] Namespace for namespace roots Message-ID: References: <20261119224312.1037966-1-jarkko@kernel.org> X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261119224312.1037966-1-jarkko@kernel.org> On Fri, Nov 20, 2026 at 12:42:58AM +0200, Jarkko Sakkinen wrote: > nsproxy: Pass nsproxy to create_new_namespaces() > rootns: Add core infrastructure for root namespaces > rootns: Track init lifecycle via copy_process() and pid_namespace > rootns: Add rootns() system call > rootns: Add ROOTNS_WAIT ioctl > rootns: Add ROOTNS_KILL ioctl > fork: Support CLONE_INTO_ROOTNS in clone3() > fs: Support FSCONFIG_SET_ROOTNS in fsconfig() > fs: Support MOVE_MOUNT_T_MNTNS in move_mount() > security: Add rootns LSM hooks > arch: Wire up rootns() system call > docs: Document root namespace uAPI > selftests/rootns: Add root namespace test suite > MAINTAINERS: Add entry for ROOT NAMESPACE Since David's picking up patches, and starting to drill them, I've not paid apparently enough attention to patch division. Just noticed when I had hard time finding mqueue and procfs changes. I've now re-sliced these into a bit more sane pieces: $ git log --oneline master.. d8e24a6bc14e (HEAD -> rootns, origin/rootns) MAINTAINERS: Add entry for ROOT NAMESPACE f2569e56a267 selftests/rootns: Add root namespace test suite bea05e758f8e docs: Document root namespace uAPI dd05a49aff77 arch: Wire up rootns() system call 2dee7a5fddec bpf: Register rootns LSM hooks 73c51e02b830 security: Add rootns LSM hooks 3cfd6576a037 mount: Support MOVE_MOUNT_T_MNTNS in move_mount() 9ed7387038ea ipc/mqueue: Implement ->set_rootns() fs_context operation 624f0ed9c1c7 proc: Implement ->set_rootns() fs_context operation 1085e6ae2eb3 fs: Support FSCONFIG_SET_ROOTNS in fsconfig() d2898dbdc39b fork: Support CLONE_INTO_ROOTNS in clone3() 42dbccb5890e rootns: Add ROOTNS_KILL ioctl 14cbda3e5bca rootns: Add ROOTNS_WAIT ioctl b2cc82539b75 rootns: Add rootns() system call d29215aa7f0f rootns: Track init lifecycle via copy_process() and pid_namespace 0f9ce7febb49 rootns: Add core infrastructure for root namespaces 7a0e8f969fc7 mount: Enforce mount_too_revealing() for foreign mntns 8c61aee3afbf mount: Add mnt_ns_get_root() 07d239d0287c userns: Factor out install_user_ns_cred() bf74588e706d nsfs: Add nsproxy_open_namespace() 645d31a1c516 nsproxy: Pass nsproxy to create_new_namespaces() I would also divide "arch: Wire up rootns() system call" into multiple patches, if this was not an RFC. Br, Jarkko