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=1795169448; b=pdG+XpP68a5DAkgbvq3GMY5LhgPAWgO0GEcgTHByaPFBBFZQVNa4VEiIlYXV2GrRoi3o pTggopVzMUVZ90cy3Af8GtoqQVtvT8eE1fo5VbFZUD0zRmjdwqypGydx/PgrdUDSaSwpY Tx4FXahTYFMsxC+V8CG0KcTPiVacSwRIfWDhSfGBv0OFAFHiUtK0ljgDaXmDYTAYQMy/z TAPGjHmgQ60qEiLLlYg+5K43hrtM6Xt/wmKSKr/51gvGfF7qk/o30PjwCsDeMSn055O0z gsPyBcqvwm1CLlqu3UE3Nn010z1/L9E40DfVn47fECBTIto15UavDn9Ns98M9ML6MYg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795169448; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=1Kw4d8+8FfNGzuUvFVQgRzSXtdZBgru3fPHEEea4jN0=; b=e3FFuWaL8B+VFfH2yazkIjxXwn2B2i3QoI7yIELvAw/6ylIg8HQSJbQuUjlgeYOczTuL zfrQXj86EAQnTFlH43LjgyiEBNjUKLkFfVpC5jaqJidf7GBMJ9nSpZRn43HJOHlE7IP8o tO3dYU+0po4meGJNl2m2G3xshI6d1NZBCO9i4tqxD3tnMP/Xr+qUS8vzW8eZADXRn7ioO Gr+ztxt5s5xebnRJMeEBk0I/fCATwFUU57x+Xm4/2OLGpJMfBXncsJpelNjHOrHD7YO57 LS/OL2WEPalx6PIf8P4g+OFbjggcKLf7ZicB87d/hK/lcQofZT4FPYMu//cfIry2hcQ== 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=VLToh1Ti; 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 326E9606A334; Fri, 20 Nov 2026 10:10:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=VLToh1Ti Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id 4C75D1F000C4; Fri, 20 Nov 2026 10:10:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795169448; bh=1Kw4d8+8FfNGzuUvFVQgRzSXtdZBgru3fPHEEea4jN0=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=VLToh1Tir6uts0SeGlRBl//X3cQJoCaOibbyKUftV/xZRya+3eHAXARr/zlGfQJG1 96+YnolWtf79XnmuP/cEtT2oo4SB6P1X8t4EEPYW/euBeUEbDAFZcbJIh1TqNDq/E7 XcD/RZlWcRQ+s8UD4RoJRfLJuNJ2LNXNXRKDUGekphW3p0+myAouyeQaDDnSaVACkf GG6y3TV9D/MpwaM84YeVA1DLAF6Epea0TMvALLytGBEWt86XWG9tzdo7walppFaVvg iKO0zvpb2DjakRigJ9ylC4EshMVPUB2SSGdHaXfJUVSXeS1Q2CADCy2eAy5FZVtLCk swVQMahF+CrKg== Date: Fri, 20 Nov 2026 12:10:44 +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: On Fri, Nov 20, 2026 at 07:58:10AM +0200, Jarkko Sakkinen wrote: > 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() A "small" fact correction: rootns itself is not actually a namespace. It was at some point during the course of doing something over alonger time span :-) I'll adjust the language and documentation. It's like SGX enclave i.e., an isolated and opaque object with *nothing* at Epoch. Similarly as enclaves there's a build phase for building the memory environment, and a live phase that follows. Those are the glasses that I've looked at the topic all the time; not so much with namespace glasses, as it's not my main beef and actually doing this has very little to do with namespaces and so much more on how you manage and control the threads and memory. This is more like cross-cutting feature with no obvious subsystem ownership more than anything else. Br, Jarkko