From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr2-f0.google.com (mail-wr2-f0.google.com [74.125.225.64]) (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 E022430CD82 for ; Fri, 31 Jul 2026 22:45:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.225.64 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785537946; cv=none; b=bdILLmWaBnh5zKv889g0qSUG9uvJMG+Hd0QJenfRFxIbx0ZriTwGuuyTdS3wsdaNXJ4V3LGdXQOBtKoiSffg7ThE7Gr0vhPY6PKqVmtaH+A58wXXoSZzx2WiFqblMfPvcqLfyTF0+AI0n6ZarShYC8ka93y/1BjVV55ok675Rcs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785537946; c=relaxed/simple; bh=h9Gx7FOJiO/f1k+SYvvOKCIIgfTzPzAEPJejmeM+Bak=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=NCCB8CVbMsN8UQt6wxuc7BOQUhju0a+ToOO4eM35zWBx/bE729Wnoh1199XpwjOZGDy8VcRkxQ9ug5g5aOsmBzIiQqxlD/lbnt2MPfquxBTFw2EnzyJGBKzfHvVmlwruf+GC6d+nF+QVa1OPthndECY0XQH6uffr6kp/yHtRQe4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=HwVZy1Rd; arc=none smtp.client-ip=74.125.225.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HwVZy1Rd" Received: by mail-wr2-f0.google.com with SMTP id ffacd0b85a97d-46cbf263216so761368f8f.1 for ; Fri, 31 Jul 2026 15:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785537943; x=1786142743; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:content-transfer-encoding:mime-version:from:to:cc :subject:date:message-id:reply-to:content-type; bh=h9Gx7FOJiO/f1k+SYvvOKCIIgfTzPzAEPJejmeM+Bak=; b=HwVZy1RdJAnPTZ4wL8DdU9cd9TqQnEw4TRzVxac6peYQ+PDIfuaqbrprr7fw/h1y8F A/iGHY0kxK2K/h5cy3E2R1dq8IA3iPQow8q9TA3oq8bUgHasqKvVx511hR7jThcMsz0j qax51nlIO3U7YMYd0ZYABaUcZzu3Ew4fg8pC8y4v4KRdqW6lk4BU4VjDwrUW8CoZCqAb Zy06DH/HlWQ6mKKEuUyQEg1vSjDePy9/BhXvobQ+7TKgC1+UT/PPn1c8sCHiyCh6xYAU BAFjCyIP0IFglq3x1j3SY3zt7YJ4zuAQsFySCCXZV5DL+N6UhzP/fbZXPlQujoOrf5He WpZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785537943; x=1786142743; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:content-transfer-encoding:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=h9Gx7FOJiO/f1k+SYvvOKCIIgfTzPzAEPJejmeM+Bak=; b=LhmZC6Sxbz9uK7n4skUKm5Z8C/RDCAfHoWx27W/ARWp/Bv6MKqp0ooqPd9R2laa/8Y P7zg/nAQYhdA1YXF2HHta1vZFDakHLF54vFJFnMF9E1I0/qZAmfaxCeC1dMdP0ViRRmp FQIAHZZldm3t0AwKx4jFd3F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-Received: by 2002:a05:6000:186f:b0:47f:93fc:2d32 with SMTP id ffacd0b85a97d-47fd7317951mr2820819f8f.40.1785537943005; Fri, 31 Jul 2026 15:45:43 -0700 (PDT) Received: from localhost (nat-icclus-192-26-29-3.epfl.ch. [192.26.29.3]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47fd45a0ae0sm10773482f8f.33.2026.07.31.15.45.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jul 2026 15:45:42 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sat, 01 Aug 2026 00:45:42 +0200 Message-Id: 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" , , , , , , , Subject: Re: [PATCH v6 bpf-next 3/4] bpf: add bpf_init_inode_xattr kfunc for atomic inode labeling From: "Kumar Kartikeya Dwivedi" To: "Casey Schaufler" , "Paul Moore" X-Mailer: aerc 0.21.0 References: <20260730234533.1912709-1-dwindsor@gmail.com> <45d2738f-de04-43cb-b37f-4370e6232678@schaufler-ca.com> In-Reply-To: <45d2738f-de04-43cb-b37f-4370e6232678@schaufler-ca.com> On Sat Aug 1, 2026 at 12:27 AM CEST, Casey Schaufler wrote: > 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=E2=80=AFPM 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=E2=80=AFPM 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=E2=80=AFPM 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=E2=80=AFPM 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=E2=80=AFPM 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=E2=80=AFPM Kumar Kartikeya Dwiv= edi >>>>>>>>>>>>> wrote: >>>>>>>>>>>>>> On Fri Jul 31, 2026 at 6:02 PM CEST, Paul Moore wrote: >>>>>>>>>>>>>>> On Fri, Jul 31, 2026 at 11:44=E2=80=AFAM Kumar Kartikeya Dw= ivedi >>>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>> On Fri Jul 31, 2026 at 5:30 PM CEST, David Windsor wrote: >>>>>>>>>>>>>>>>> On Fri, Jul 31, 2026 at 11:17=E2=80=AFAM 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 cle= arly 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 proje= ct >> moving forward, who want this functionality, and figuring out the best w= ay to >> make it happen while working collaboratively with others. Life is full o= f >> tradeoffs. > > It certainly is. Paul has taken a stance that supports the ongoing mainte= nance > of the LSM subsystem. It does not have a stable API in support of the rap= id > development of Linux kernel features *outside of* the LSM infrastructure.= That is, > people like you. If LSM hook implementations were spread throughout the k= ernel > code it would be much more difficult for poor hobbyist LSM developers lik= e me > to track them down when making changes. Changes like the ones you require= . I would recommend reading the patches before commenting. All LSM code is un= der security/ (patch 2), as it should be. > This is about being able to continue supporting the latest and greatest a= dditions > to the system. Like yours, io_uring and the network protocol d'jour. > I don't know what you're on about. > Please don't lecture us on collaboration and trade-offs. We live and brea= th that. > Paul is free to take a stance for LSM code, just like the BPF maintainers g= et to decide on where BPF related code should live. I'm sure you know that. Thus, please avoid justifying his overreach on where others maintainers sho= uld keep their code.