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=1796480541; b=Prpx04xoschhs7GN8uCbiT6DrZbj9mUIJVjB3cfE8pDTAuWuzf0Lag43unl/VD5GiC5Y zJjQ9FBZ6wa8QqiB0slfrX6sTLiCzCJmQhHRcPwQtDtXvL46k61rrDJp+qM7RAmTDUHpM wNt9CBoiob6IJ77o0VjCtwkxI0Zqz1LQ6LpURW8gAd8bkRGpT6ANi/t8tnY52WYuYgMM/ Xn7+HeSroA85weIr9pgr4i9tzMk9ti7O3Mp/DjxwomA5dBQri/PvAV43Z5Ha8wezz0zBO z/ray04XNr5y+GwK6FD8Mu4tVDWp+gp1z1Rdn4xxAbaWQBvH4YLmk19dzmi6YZBZN1w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796480541; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition: Content-Transfer-Encoding:In-Reply-To; bh=0kS1uGaQUc0uFaF53//VZGbuEzlozCjISpa6+Wq2MzE=; b=Lncx+lo2i7msRvYe/0H/2kf/1gQgIbn+cHc45q3GZ9R59pwW4x/hsgqKOSNSI1K9oTPZ qA7SiUHaiQWobzIzksvHBLDObU7o3bdV/itT95xcEI/YLCBiuJ30Pp4QlArwWUUmIzDYh fK+X2M6xD/t64sy/bQr9ktEBhzwdjO9t2bwQ/uI8YF406o7T3SJKAmWrXdNUdP8H5DA9U eoL3Jmcr9vAOsv/8Cst1cb2ClU+WFQ90dhxzDcNd9fC3pgh3NbJy/dHWWlAve+lxZ7NxC As8noYrguV4wDvN8hDlJ28nHQ2ZbkSgUXb5FEr34n8uZNAQdpPUdhaOZcKd3O21IYqQ== 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="a/rrfOLz"; 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 ED4BF606A322; Sat, 5 Dec 2026 14:22:20 +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=a/rrfOLz Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id CBDFD1F0092B; Sat, 5 Dec 2026 14:22:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796480540; bh=0kS1uGaQUc0uFaF53//VZGbuEzlozCjISpa6+Wq2MzE=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=a/rrfOLznWo6jR2xdeVyDY6B4XctCHbNHZqXwU2iX0Si/TLpZN5BHQKMlkAsc9z2Q RT96n83OEZkUu//fdMXE2ytj5nAkzp8twme7OHtypQxMIqIgPOpF0NVQ3gGmOLLLen RpA/lVY/sNrVjeLHQS/stWQeCVYBN01Qf2bUTamdK9on9mIxPA+SfFKLz4TzKqWwYD yid31hpzBMC8FkDx9MXhCJZLYjNgJlGMqOhhIUr3uSima1VDmlke4KDIz4DYimv5+H X2MKr/fM+r+pK2kA+oBFWAY5dztEjZComwlnc0G5RDQZzz3SYUF3NZHqf1wZUQKuF+ qPwvATIO7VGMg== Date: Sat, 5 Dec 2026 16:22:16 +0200 From: Jarkko Sakkinen To: bot+bpf-ci@kernel.org Cc: fsdevel@vger.kernel.org, bpf@vger.kernel.org, containers@lists.linux.dev, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, linux-security-module@vger.kernel.org, aleksa@amutable.com, alex@amutable.com, viro@zeniv.linux.org.uk, ast@kernel.org, akpm@linux-foundation.org, andrii@kernel.org, luto@amacapital.net, arnd@arndb.de, baolin.wang@linux.alibaba.com, bsegall@google.com, brauner@kernel.org, daniel@iogearbox.net, david@kernel.org, dhowells@redhat.com, dwmw2@infradead.org, dave@stgolabs.net, dietmar.eggemann@arm.com, eddyz87@gmail.com, emil@etsalapatis.com, ebiggers@kernel.org, georgia.garcia@canonical.com, giuseppe@scrivano.org, gnoack@google.com, hughd@google.com, ihor.solodrai@linux.dev, mingo@redhat.com, jmorris@namei.org, jack@suse.cz, jgg@nvidia.com, jlayton@kernel.org, jolsa@kernel.org, john.johansen@canonical.com, corbet@lwn.net, josef@toxicpand, a.com@smtp.subspace.kernel.org, juri.lelli@redhat.com, kees@kernel.org, kprateek.nayak@amd.com, kpsingh@kernel.org, memxor@gmail.com, lennart@poettering.net, liam@infradead.org, manfred@colorfullife.com, martin.lau@linux.dev, matt@bobrowski.net, mgorman@suse.de, mhocko@suse.com, mic@digikod.net, rppt@kernel.org, neal@gompa.dev, oleg@redhat.com, paul@paul-moore.com, ptikhomirov@virtuozzo.com, peterz@infradead.org, rdunlap@infradead.org, serge@hallyn.com, sergeh@kernel.org, skhan@linuxfoundation.org, song@kernel.org, stephen.smalley.work@gmail.com, rostedt@goodmis.org, vschneid@redhat.com, vincent.guittot@linaro.org, yonghong.song@linux.dev, zygmunt.krynicki@canonical.com, martin.lau@kernel.org, mason@kernel.org Subject: Re: [RFC PATCH v10 01/28] userns: Factor out idmap validation and commit helpers Message-ID: References: <20261205032633.1702772-2-jarkko@kernel.org> <365dd57788b38361b492e0624f72521096a60f3bdd5c55e7d375649d6bac7160@mail.kernel.org> X-Mailing-List: linux-fsdevel@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=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Sat, Dec 05, 2026 at 04:13:38PM +0200, Jarkko Sakkinen wrote: > On Sat, Dec 05, 2026 at 04:01:58AM +0000, bot+bpf-ci@kernel.org wrote: > > > userns: Factor out idmap validation and commit helpers > > > > TL;DR: Commit message only: it claims "no functional change", but the > > extent-limit check and the map_write() error-path cleanup were rewritten. It > > asks the author to say so and explain why they are equivalent. > > This, and other commit message issues reported by Sashiko have been > addressed at > > https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/log/?h=runfd > > Other Sashiko and BPF bot issues have been addressed too, and fixup > diffs have been sent as responses to the corresponding patches. > > Ucells is a Cells v3 ABI written in C: > > https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/ucells.git/about/?h=main > > The gist: > > - Ucells uses seccomp user notification to intercept Cells v3 syscalls > and handle them in a userspace supervisor. > - The supervisor uses runfd to stage each cell’s namespaces, > launch its init process, and track its exit. > - BPF programs enforce per-cell isolation rules at runfd and > other kernel security hooks. > > It's much more realistic than the Python daemon I had. > > BPF LSM is still relatively fresh kernel feature that already exist in > the mainline, and would really need more use cases so that we can make > it better. > > I was wondering a while ago how I would practically use BPF LSM. Now it > found its use case :-) I'm glad it exists; otherwise this would not be > as conclusive as it is now. With this, I guess reached singularity, and the rest is recursive self-improvement. Br, Jarkko