From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.216.71 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796434184; b=BZJbh+Nx75+mcbN1XFFzSAuepNVhzmsgtxQlCzCg9JEfddxBY7A/+oLkqiWM4HY1lM4Q BJuiq43PuNlGNQcMVWahVg/tw7rwMqEImQ+z+4T25/32i7opAz9aJCRzp+svAEOnbu8oe J4cc/+uopfFWa/CI254AFJR5t5QqLUtGA+QsIzw60Vf+Uoji7hBnU8CZ9WSkC2oCZhB7o BxmACZRgirf9nK/VeQtDUOddG4IY7Qbbfc2jDt6XzBcGhQ9pn1I+uaoDrMv8HeKVYft6v 44oHSP5455ufm38e1qKqhPuFLLlRson7y1lNv+A9KnAgoCxqZfbAy5J4+4SvZRufu+g== 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=eQeN3eMq8WGPi1tbpSMH6Mn+p2xdnHN/ZwkF2/v7SeNLU17CYDZ91l7piSDMErt3a3b8 kQVRLlB9zfPueYfBF12aKpxdJ995MyM+u21DVpoal43ytN9TwQ/hD6yP5NxwER+OFSQN0 qjV8Usf/UQtIec7EMqOsb1gRU9qHSrRes3SqwO1O19eqwTdd161WDVR3wPwLdOKELSN3f WaV2VNa6E7QxnCoNkUTPrjsFd/MHLcAUcBEp+q/w248I2qBORCwgv27Bmi1fdQMmMUMnN jaxtudwO3s6Z//Dv7S4uTJaPcYuG9CHPzBzLwfaU3LeXKEcGeMNbOzpNtmFCHbiCVzg== 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.71 Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) (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 61593606A32F for ; Sat, 5 Dec 2026 01:29:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 61593606A32F 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-f71.google.com with SMTP id 98e67ed59e1d1-3b4b76a2b95so1822700a91.1 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=gEwF+E0LzyNmyi+Agj+P1tvh+pvcOzCbquFPxVy+rAf+SrhouR9qWXQfY3u1UT0vZb i22S+xfJHM7TOwD9DuvxMuN/Bh5H4Z5oWJPljbZK4BfyQy35+N+5svndz7bQWkz2JNnq f/ZZz1XlKmrli7u38QsAVFrml+d8Uw6VqIsI/Oh3HKHQ0VhtW62TDFoOXJs5mhDQZHuh QLD+EO1+5SFnA/8iL86jNvTFNbETO2YfNs4WTJ5U7/HKnddCQWxpV/yf3q4zrStveIDt UT14qhl6plwJOBlf7H3+Y2H7/o/R5oEoB9X3OzNmbAOUPNhH62NB3VdeJubA6kzaucGt qKCw== X-Forwarded-Encrypted: i=1; AL+hErHHogu9w5Blcf2XTjF0EjtsbxHj6gCUWxs58vgCOjYScihOQo7dENhPcDGtMP/hNFVosnUKbBA=@vger.kernel.org X-Gm-Message-State: AB4q+uGHb52xJpwiStEbve2Ad4BuJrC95xOsyHiwgwEfftawNkA9lTzV IgmXRG7IX5lDJ+yCPgql7vO4Ezq0sv+9Den5yrgWVlc4K+rA20g6esTdppGBgOo/0AjOdG4xkCA g0B6HcA== 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: netdev@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.