From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sonic312-30.consmr.mail.ne1.yahoo.com (sonic312-30.consmr.mail.ne1.yahoo.com [66.163.191.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D4A4E377007 for ; Fri, 31 Jul 2026 22:48:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=66.163.191.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785538102; cv=none; b=aDkSeJCh/pjx/VVjaY7csfBoHvYLM+5x5yPtKRuTLPdx1iOCS91jSZ4NUoD5AVf7gPVMyuDMwKE4nqtUtgN1BtdCzYtNymahhsPkr5v6+gqjJt04Sd5zADLb24C6tkUjEbLTg3qg7n5UZAMi5fZKBnq4QjbOB94NxC20IqFFeFY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785538102; c=relaxed/simple; bh=YAt9eFIIe3D3n5l6qZabScoWy3yuTrRj2itu8f37lrE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=J9Tv2UVgjLLVBFpU92I961z+y98lXaPWszHU/SRQNP8DAYvAp94k2NoJ7Qj5NJrpHiUN4PMVn1jEK+94aDslC7o0ZBh9yW7ZWlcGiEmuUV6PgTVmnNBz78atLpTiXL+27amv5FpOrOFhfDYjXHnFuHDmS29Q2YjVts2uwu7hVec= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=schaufler-ca.com; spf=none smtp.mailfrom=schaufler-ca.com; dkim=pass (2048-bit key) header.d=yahoo.com header.i=@yahoo.com header.b=TXuNGcHW; arc=none smtp.client-ip=66.163.191.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=schaufler-ca.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=schaufler-ca.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=yahoo.com header.i=@yahoo.com header.b="TXuNGcHW" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1785538100; bh=YAt9eFIIe3D3n5l6qZabScoWy3yuTrRj2itu8f37lrE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From:Subject:Reply-To; b=TXuNGcHWAw+SGYqH/xIb9+SSDOLerMhureZSfMjykJuW3Ysxp6ObjuL2kzo13YdIzq5UtMrowjQIuM9l/jz89ytXUWI5E9GlL+1EkM6+v610creb3EgyZcQQ4SMaAuEvXjuTqAZ6F+rWO1z89bzX76scqJ/ly5U2I9o0ub8uA3uBuBSPH0Og28iCj48+jtHEeMx/yAYiIkjJgm+1IsWDSvjcrnpSHAHNTGhpEVi+lkt/QpL824kwzxwR/Ym9emwaVwaowL+hTt2SE5DkHKvFXimTQ7YgAgfjwyI5MfUaGRp7uOqwx59vUh2te+e3TBA1t+7Oyi2pqeeIHBm8YN8WOQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1785538100; bh=gG+D+7/8kOhvOHwYfokycML2DJAzvjsmbCTziy6dSq7=; h=X-Sonic-MF:Date:Subject:To:From:From:Subject; b=kKYZUR5PdHk2VqfgrTxbRTl9yCVzRTvKska8v72vg2pcGbn0uziP38CxapmPn/T8MMsn1jYRBpZ12TGEe7ObY0l7lcTwpIQuQMpNI3QJTuLAtRfl2icDQp/BVsqPrjoGAXvpu8YcRqZgD8IeN6f1nAOJHS+44JNKGzF2pwhz+QzwOhp93DTT6lNTAKFK7oT0F7Mct3WmWOh2/7RI2cess15BwgbsqwMczTSvoROCbtM9xCAvM5RnI+1gRsivPvopwGPZhVWmPgnCZIut580PiGLZYk7dnBviuzACSgNCOPr1zjXHGS++KO4DJKC8nOg6Z2WXXSF+CEjtZEBKmpWU1w== X-YM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M3czgli1RebJZMklJx9XXlPV.7NO04YVjLXBqToEiGTi8b4 IX159.23JZ1lJdf0r6ElxNK.Ut75K_J0bBV6Rei0GgxZZnRL7HpDbC45SHxOVudsF2B9.BCt7Dd1 WIbMQpdn8cTyM6gdCt5E4XOGY08pPGnu8qDhloApOEDNLKWdXVVrRblNdF4gpYR6iCzoJug-- X-Sonic-MF: X-Sonic-ID: 58773052-9edc-4e5b-b181-54767b6ce249 Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.ne1.yahoo.com with HTTP; Fri, 31 Jul 2026 22:48:20 +0000 Received: by hermes--production-gq1-7749664df-wnjhm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID af5aeb6cb25895ee9689066a9446e5bc; Fri, 31 Jul 2026 22:27:38 +0000 (UTC) Message-ID: <45d2738f-de04-43cb-b37f-4370e6232678@schaufler-ca.com> Date: Fri, 31 Jul 2026 15:27:35 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 bpf-next 3/4] bpf: add bpf_init_inode_xattr kfunc for atomic inode labeling To: Kumar Kartikeya Dwivedi , Paul Moore Cc: David Windsor , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Jiri Olsa , Emil Tsalapatis , James Morris , "Serge E . Hallyn" , Stephen Smalley , Ondrej Mosnacek , Mimi Zohar , Roberto Sassu , Dmitry Kasatkin , Eric Snowberg , Alexander Viro , Christian Brauner , Jan Kara , Shuah Khan , bpf@vger.kernel.org, linux-security-module@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-integrity@vger.kernel.org, selinux@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260730234533.1912709-1-dwindsor@gmail.com> Content-Language: en-US From: Casey Schaufler In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailer: WebService/1.1.26180 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo On 7/31/2026 3:04 PM, Kumar Kartikeya Dwivedi wrote: > On Fri Jul 31, 2026 at 11:49 PM CEST, Paul Moore wrote: >> On Fri, Jul 31, 2026 at 5:29 PM Kumar Kartikeya Dwivedi >> wrote: >>> On Fri Jul 31, 2026 at 10:48 PM CEST, Paul Moore wrote: >>>> On Fri, Jul 31, 2026 at 4:16 PM Kumar Kartikeya Dwivedi >>>> wrote: >>>>> On Fri Jul 31, 2026 at 10:01 PM CEST, Paul Moore wrote: >>>>>> On Fri, Jul 31, 2026 at 3:20 PM Kumar Kartikeya Dwivedi >>>>>> wrote: >>>>>>> On Fri Jul 31, 2026 at 9:05 PM CEST, Paul Moore wrote: >>>>>>>> On Fri, Jul 31, 2026 at 2:50 PM Kumar Kartikeya Dwivedi >>>>>>>> wrote: >>>>>>>>> On Fri Jul 31, 2026 at 8:42 PM CEST, Paul Moore wrote: >>>>>>>>>> On Fri, Jul 31, 2026 at 2:18 PM Kumar Kartikeya Dwivedi >>>>>>>>>> wrote: >>>>>>>>>>> On Fri Jul 31, 2026 at 6:59 PM CEST, Paul Moore wrote: >>>>>>>>>>>> On Fri, Jul 31, 2026 at 12:32 PM Kumar Kartikeya Dwivedi >>>>>>>>>>>> wrote: >>>>>>>>>>>>> On Fri Jul 31, 2026 at 6:02 PM CEST, Paul Moore wrote: >>>>>>>>>>>>>> On Fri, Jul 31, 2026 at 11:44 AM Kumar Kartikeya Dwivedi >>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>> On Fri Jul 31, 2026 at 5:30 PM CEST, David Windsor wrote: >>>>>>>>>>>>>>>> On Fri, Jul 31, 2026 at 11:17 AM Paul Moore wrote: >> ... >> >>> I think you keep forgetting that you cannot unilaterally decide this. Both VFS >>> and BPF people have told you that it does not make sense. What was clearly LSM >>> specific code has been moved under security/ already. >> I'm charged with doing the Right Thing for the LSM framework, and in >> my opinion it is in the best interest of the LSM framework that the >> kfunc being proposed lives in security/bpf_lsm_kfuncs.c, just as the >> VFS kfuncs live in fs/bpf_fs_kfuncs.c. >> > I think the "Right Thing" would be caring about your users and the project > moving forward, who want this functionality, and figuring out the best way to > make it happen while working collaboratively with others. Life is full of > tradeoffs. It certainly is. Paul has taken a stance that supports the ongoing maintenance of the LSM subsystem. It does not have a stable API in support of the rapid development of Linux kernel features *outside of* the LSM infrastructure. That is, people like you. If LSM hook implementations were spread throughout the kernel code it would be much more difficult for poor hobbyist LSM developers like me to track them down when making changes. Changes like the ones you require. This is about being able to continue supporting the latest and greatest additions to the system. Like yours, io_uring and the network protocol d'jour. Please don't lecture us on collaboration and trade-offs. We live and breath that. > > Instead of dictating how others should bend over backwards to agree to your > arbitrary rules on code organization, which they don't agree with. > > Everyone you've pitched your idea on code organization to disagrees with you. > Yet, you remain adamant that it's the only way forward. > > Materially, both you and I know nothing of consequence would happen if the kfunc > stays where it is. > > As a consequence, everyone suffers because they first need to satisfy your whims > on how all code and kfuncs written thus far are wrong, and need to be moved > around ASAP, including the one being proposed. > > Not only is that a disservice to your users, but also people who've reviewed > code (apart from you), and more importantly the person who worked on this patch > set for several months. > > At least a month ago, you had the good sense of not dying over this hill. > >> [...]