From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.69 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796434184; b=U8dNqpBiWSB641SJzOPy4xGAXFjKtbDL2+SbGcAndwe7BkmtufrXELAvV/e8IqHj4JTe dFKJYQPjyvQ3BS7DLPk/2u5Wg9RNzZ+pKa4EkAslsELbkZTjCoi+1MsHTigT7HOjX9nb+ OyhUCGCxH1o6K74QhPrnwgL7FOfKPMiB1mOEIJfTLQzUCTpSON94mC4kyax07GyiVj1oh W0Xc/iOveVKBLqRl93T117Yeo+RyfPIq2N/Gqx5AVBpThGeuHU6fg+4h+ghvq79ozTfMF 9M2eojSQ1Svcal9cp8Z78osCaUrN22ZErvVmVhpzCYYnDi0J7Em+YJvAPBezyYDK5Jg== 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=i8OLGmI04h6TWGYgdHtz9wFFDubtUsqUVeMhPZHbj5sGVYZrzGKUtn/eBcuPIpuQo3gy 6QOvbQoQsNzxb4pbqtjJq4m1fcvYSKZEGj9ilIoaisIELnLBvdLp44Mvvb73Aenh80GQa A6TomJ8HduJeRihvFtuuSu8FjISWkmNslc0QgW7/co2wJ0f3mi68Sss81A6xE27IWEJJE JahCsijcqge5Nba8amL/ELq+CqKccT3nMR3TcXHoPU7bKsmRt2B0cZFtd93MGCbZb/Upw AzxTwximHPMjHcOx5y03/bejvn0E364UikDCFNFycnDIWnrMudL0+oI0uzCuxucmWkw== 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.69 Received: from mail-pj1-f69.google.com (mail-pj1-f69.google.com [209.85.216.69]) (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 60364606A32D for ; Sat, 5 Dec 2026 01:29:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 60364606A32D 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-f69.google.com with SMTP id 98e67ed59e1d1-3b0a13ae043so1583231a91.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=ZvP9Tgql/1pis2A0lxPOJjqLNObytAaALEDSFcJ6mT7b8mRB6MdMkctH5ZcD8OdSMq 35f6euDjItZD8eMu4N9RyBzSVRFrtpOJcjQ1QilLu8NvDV3Z2pr6pnawbQo7x9BYpOpf wv1Wuhutn4e/dPT4PpgBuwY8Z3orUbbHUQ5POKfgSFMhu16aVwlB+ykP84fmbiG5bHNk 8KUktFMqHhF4ZC7g6vsMKCbCHsH+UUPef4JIsQIEf91oy9J9AlpZ0olkYrrjSXmZDQS/ tDQTojfhznlJd0B2wQmZQa8GK9UvshLdlr0eCWhrgEWBN97hRwgZ7ALMI522U8Y90RgS Ug7A== X-Forwarded-Encrypted: i=1; AL+hErEfXoK9G5rkWoJqLf8I0CG6smXUDJM5iapazLilcLLaDnYr5EqKnfLQ3YwxOjleSb9ITXg=@vger.kernel.org X-Gm-Message-State: AB4q+uFUuHtZITGNPFffEmxujYHgqcj4JyxzrYDVfTu30A+UwdvG3Ndq SBB+23O+X4Mxvlel0JBkYIdkNM2YUCyzRE4C2qMWGq7cvpzMUY3cATH9tCkSKDkPeLeSs3l8upK 9QefSPg== 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: bpf@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.