From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.72 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796434184; b=QshAIoUp9FJGHwyvzWBOudqqNRlXKmo3z0eDHGzxtEIgYpSCf8z2LnsTiuf6FwtGQzHl ZVUuoHmFlXAnFf347Npv9CQrb0Wv/451SietyZtmfDOEBy5VbPF2YytGy3Ut3203P6cnL BGXUDguvm+6crhVn2YtPt1XNagcdkYvx5G3MVbwricFiDiEeuB3pooGcBn22L4Hyzz9kW sdRfrCOdjNuQ9QGg2xcpcQKIos6NxJrE+TEhhcpXchPbrP8RmPvXycqi67Bf5elCIeMgx C436vGv1DNM0gm/zVbU2O7Dy808DQJvNdjDsECKURzYdL567HH8+qCDfeJ7ltoiQ/dA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796434184; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Received:Date:In-Reply-To: Mime-Version:References:Message-ID:Subject:From:To:Cc:Content-Type; bh=qMyC8JHt9gzC/YJH2UDQyAfrcs9wD0oB3djuKSaNERo=; b=UbqpeDf1o8QD9qbuBgzOby0CGkYkqIYh3YJ/LYnB58y6CMHvG8/M4vbX3S08nkwvJudE 6Zt5DDmzbNJVlhFXIL/JwSbcOWfpiJJkp/kuPUWam/7UC+2fmdhXsMmzqVQxJaAMCl8aA J0r13CHZidmqM9Cge047eafRwkkgQGsQhg9EsnVCN/0uRN0wEv/k7IiVuhh/MW1F4+vf6 kAziTGyDx4eaLnqRLTzefhDZvXvUfs9+2Y9oJ8JaaWJBv15AJJEVonii4isM+K66xqn6O BqPIYSowtQqHl+0+lW1pWknojPneREdwoyCeDLCtrL5Pg2GB8LG/VjG6jOQWA/xxFSg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=google.com; spf=pass smtp.mailfrom=flex--kuniyu.bounces.google.com; dkim=pass header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b="biy/Dzqk"; arc=none smtp.remote-ip=209.85.216.72 Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55F5A606A32C for ; Sat, 5 Dec 2026 01:29:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 55F5A606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--kuniyu.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20260707 header.b=biy/Dzqk Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-3b0a13ae043so1583229a91.0 for ; Fri, 04 Dec 2026 17:29:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20260707; t=1796434183; x=1797038983; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=qMyC8JHt9gzC/YJH2UDQyAfrcs9wD0oB3djuKSaNERo=; b=biy/Dzqk/nFjJv7Lzbb9y0WauDqPpjq+awUJbnfi0IhnpB3Qznpj9xYhxaTQPqsqHW mtHCE5WknMSszEMIiK+Sd5q2nnARgCnh2aGhmQEmBYCTZfeX1WM4ajhPwtyQ7lzD5zD3 B1sFuiG1vRb92/BsYVWunIFKFa1jFW6aBiDgGGpEnu68jHTkvscvuQcTdRiIK4Qepg0J gMAN8ieod7xGY/+Ed2FgDff/SdZJU2iusFQrXeTQcV46sBKAd4DAxOflpBJhNKmSQ8da Qi2WWe17AoHNHA312ZLg59cnr/jlmDLpCKN6kXMBRvcnnEM/71JzxNUZS6j4E6e7JiGM eBCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796434183; x=1797038983; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=qMyC8JHt9gzC/YJH2UDQyAfrcs9wD0oB3djuKSaNERo=; b=DWaMBCEkk9b3KZhXbH3x1KrTyv3TqHdXHUMS7wRUl6A/NzifaH8Te98DpIgJHHeLpn MEuDNFcJZgiAMWqrlHS4+enl/GpCWRDFYtvoMcF3nfPTeB/sE9+4BoNpoZU7JjYsczxp Oj2hyvO0Cp4tcVFNheFv1rZ+BBt8WtETafrcOheIE/DxNMk1iKehVpiKFk3XpY3GYm8r H9V92ikZ15c1S02kT2wIrOVL5ecHf5IjTWxaq+NBYqEKmrUWrDFg5JDK1fnbDK885lGi WU+4nFcEMcqkMDSn1vYUwLlkL1pULYftL9Rh44ktyumvAecd3Ka2+abdRK5HBJRgRMwI Oxzg== X-Forwarded-Encrypted: i=1; AL+hErEVkqYf7CB4fFZZLC38x0bOInM93qrU9rwtlu56hkuaAY8VkQ6zfE/qfQ52N+j72IB86wu4kDk/vQ+DlI4BGXrk3y3onuA=@vger.kernel.org X-Gm-Message-State: AB4q+uFjfjJJ1xoVt2lrOyabIyZLhdTKSmkHz320fLHJf2AHcKDKeSmR p6d+l1ImGh7yOCpmM85EzmguVTZCgFntM/RGGul7R34Pu5ichQitoS28jr92Cn0Ex3H24AenZWb Ct+/OBg== X-Received: from pjzb18.prod.google.com ([2002:a17:90a:e392:b0:3b5:7923:2a2]) (user=kuniyu job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:28d0:b0:3ad:aa1a:312e with SMTP id 98e67ed59e1d1-3b5e05493f2mr3406620a91.3.1796434183407; Fri, 04 Dec 2026 17:29:43 -0800 (PST) Date: Sat, 5 Dec 2026 10:29:43 +0900 In-Reply-To: X-Mailing-List: linux-security-module@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 References: <20261204163412.988198-1-luca.boccassi@gmail.com> Message-ID: Subject: Re: [PATCH v2 bpf-next 0/4] af_unix: Allow BPF LSM to filter SCM_RIGHTS at sendmsg() From: Kuniyuki Iwashima To: Luca Boccassi Cc: paul@paul-moore.com, andrii@kernel.org, ast@kernel.org, bpf@vger.kernel.org, casey@schaufler-ca.com, daniel@iogearbox.net, eddyz87@gmail.com, gnoack@google.com, haoluo@google.com, jmorris@namei.org, john.fastabend@gmail.com, jolsa@kernel.org, kpsingh@kernel.org, kuni1840@gmail.com, linux-security-module@vger.kernel.org, martin.lau@linux.dev, memxor@gmail.com, mic@digikod.net, netdev@vger.kernel.org, omosnace@redhat.com, sdf@fomichev.me, selinux@vger.kernel.org, serge@hallyn.com, song@kernel.org, stephen.smalley.work@gmail.com, yonghong.song@linux.dev, brauner@kernel.org Content-Type: text/plain; charset="us-ascii" On Sat, 05 Dec 2026 01:15:00 +0000, Luca Boccassi wrote: > On Sat, 5 Dec 2026 at 01:07, Kuniyuki Iwashima wrote: > > > > On Fri, 04 Dec 2026 16:34:05 +0000, luca.boccassi@gmail.com wrote: > > > Hi Kuniyuki, > > > > > > Is there any update on this series? It turns out it's something we really, really need in systemd as well... > > > > Hmmm ... ?? > > > > I remember Christian and Lennart didn't want the filtering > > capability with BPF and rather preferred just a socket option > > for all or nothing. > > > > What has been changed then ? Any context ? > > I wasn't part of those talks, but what happened is that AI tools > figured out FUSE exists, and our security issue tracker is keeling > over :-) > So we really need to be able to install sender-side filters to stop > certain types of FDs, like FUSE ones, from being sent in the first > place... What's the preferred API ? e.g. the app wants to preserve fd order, etc. > > Are you still interested in this patchset, or would you prefer if > someone else took it forward? I can respin the series but need more concrete examples/context to justify the feature to avoid going back and forth.