All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kuniyuki Iwashima <kuniyu@google.com>
To: Luca Boccassi <luca.boccassi@gmail.com>
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
Subject: Re: [PATCH v2 bpf-next 0/4] af_unix: Allow BPF LSM to filter SCM_RIGHTS at sendmsg()
Date: Sat, 5 Dec 2026 10:29:43 +0900	[thread overview]
Message-ID: <axNoQfXHYj0K1nOl@google.com> (raw)
In-Reply-To: <CAMw=ZnSRLFGrvOQ+sgfebvq9cAg0qAc88P3_RyUJase6Ktqjhw@mail.gmail.com>

On Sat, 05 Dec 2026 01:15:00 +0000, Luca Boccassi wrote:
> On Sat, 5 Dec 2026 at 01:07, Kuniyuki Iwashima <kuniyu@google.com> 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.

  reply	other threads:[~2026-12-05  1:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-13 22:22 [PATCH v2 bpf-next 0/4] af_unix: Allow BPF LSM to filter SCM_RIGHTS at sendmsg() Kuniyuki Iwashima
2025-06-13 22:22 ` [PATCH v2 bpf-next 1/4] af_unix: Don't pass struct socket to security_unix_may_send() Kuniyuki Iwashima
2025-06-14 17:32   ` kernel test robot
2025-06-13 22:22 ` [PATCH v2 bpf-next 2/4] af_unix: Call security_unix_may_send() in sendmsg() for all socket types Kuniyuki Iwashima
2025-06-13 22:22 ` [PATCH v2 bpf-next 3/4] af_unix: Pass skb to security_unix_may_send() Kuniyuki Iwashima
2025-06-13 22:22 ` [PATCH v2 bpf-next 4/4] selftest: bpf: Add test for BPF LSM on unix_may_send() Kuniyuki Iwashima
2025-06-14 11:43 ` [PATCH v2 bpf-next 0/4] af_unix: Allow BPF LSM to filter SCM_RIGHTS at sendmsg() Paul Moore
2025-06-14 20:40   ` Kuniyuki Iwashima
2025-06-19  3:23     ` Paul Moore
2025-06-19  4:00       ` Kuniyuki Iwashima
2025-06-19 18:55         ` Paul Moore
2026-12-04 16:34           ` luca.boccassi
2026-12-05  1:07             ` Kuniyuki Iwashima
2026-12-05  1:15               ` Luca Boccassi
2026-12-05  1:29                 ` Kuniyuki Iwashima [this message]
2026-12-05  1:42                   ` Luca Boccassi
2026-12-05 10:13                     ` Christian Brauner
2026-12-05 10:24                       ` Luca Boccassi
2026-12-05  1:21               ` Alexei Starovoitov
2026-12-05  1:25                 ` Luca Boccassi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=axNoQfXHYj0K1nOl@google.com \
    --to=kuniyu@google.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=brauner@kernel.org \
    --cc=casey@schaufler-ca.com \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=gnoack@google.com \
    --cc=haoluo@google.com \
    --cc=jmorris@namei.org \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=kpsingh@kernel.org \
    --cc=kuni1840@gmail.com \
    --cc=linux-security-module@vger.kernel.org \
    --cc=luca.boccassi@gmail.com \
    --cc=martin.lau@linux.dev \
    --cc=memxor@gmail.com \
    --cc=mic@digikod.net \
    --cc=netdev@vger.kernel.org \
    --cc=omosnace@redhat.com \
    --cc=paul@paul-moore.com \
    --cc=sdf@fomichev.me \
    --cc=selinux@vger.kernel.org \
    --cc=serge@hallyn.com \
    --cc=song@kernel.org \
    --cc=stephen.smalley.work@gmail.com \
    --cc=yonghong.song@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.