From: "Dr. Greg" <greg@enjellic.com>
To: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Cc: Paul Moore <paul@paul-moore.com>,
Justin Suess <utilityemal77@gmail.com>,
Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
Andrii Nakryiko <andrii@kernel.org>,
KP Singh <kpsingh@kernel.org>,
Matt Bobrowski <matt@bobrowski.net>,
Micka??l Sala??n <mic@digikod.net>,
Alexander Viro <viro@zeniv.linux.org.uk>,
Christian Brauner <brauner@kernel.org>,
Kees Cook <kees@kernel.org>,
Casey Schaufler <casey@schaufler-ca.com>,
G??nther Noack <gnoack@google.com>, Jan Kara <jack@suse.cz>,
Song Liu <song@kernel.org>,
Yonghong Song <yonghong.song@linux.dev>,
Eduard <eddyz87@gmail.com>,
Kumar Kartikeya Dwivedi <memxor@gmail.com>,
Jiri Olsa <jolsa@kernel.org>, Tingmao Wang <m@maowtm.org>,
bpf <bpf@vger.kernel.org>,
LSM List <linux-security-module@vger.kernel.org>,
LKML <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: LSM boundaries. Was: [PATCH bpf-next v3 04/15] lsm: Add the bpf_lsm_policy_release kfunc and policy object destructor
Date: Mon, 14 Sep 2026 16:18:32 -0500 [thread overview]
Message-ID: <aqhkqDvwM6loGihB@wind.enjellic.com> (raw)
In-Reply-To: <CAADnVQLZscKkCxvK5puuOE1aN8nW6PnaS+_dx_zBQjjP2T-DFg@mail.gmail.com>
On Sun, Sep 13, 2026 at 07:24:14PM -0700, Alexei Starovoitov wrote:
> On Sun, Sep 13, 2026 at 5:10???PM Paul Moore <paul@paul-moore.com> wrote:
> >
> > On Sun, Sep 13, 2026 at 7:25???PM Alexei Starovoitov
> > <alexei.starovoitov@gmail.com> wrote:
> > > On Sun, Sep 13, 2026 at 12:41???PM Paul Moore <paul@paul-moore.com> wrote:
> > > > On Sat, Sep 12, 2026 at 3:33???PM Alexei Starovoitov
> > > > <alexei.starovoitov@gmail.com> wrote:
> > > > > On Fri Sep 11, 2026 at 10:26 PM PDT, Justin Suess wrote:
> > > > > >
> > > > > > If fs/, mm/, drivers/, net/, are permitted to have kfuncs, then why not
> > > > > > security/? kfuncs.rst doesn't seem to forbid this.
> > > > >
> > > > > because fs, mm, net see the value in bpf. bpf helps these subsytems
> > > > > to focus on their core technologies and moves policy decisions out of
> > > > > kernel and into bpf.
> > > > > while lsm people treat bpf as arch-enemy.
> > > >
> > > > It's amusing to read this when just this week we merged a patchset
> > > > into the LSM tree for the benefit of those writing BPF LSMs. If you
> > > > look at the discussion around patch 2/2 you will even see a reasonable
> > > > exchange between Matt Bobrowski, a BPF LSM maintainer, and me about
> > > > the patch. Alexei is obviously welcome to his own opinion, but I
> > > > would encourage those reading this thread to look beyond his comments.
> > > >
> > > > https://lore.kernel.org/linux-security-module/20260904-lsm-mount-idmaps-v3-0-920a1963675d@amutable.com/
> > >
> > > And that's an example of unacceptable land grab by LSM folks
> > > that I'm concerned about.
> >
> > I made sure that patchset was ACK'd or Reviewed-by'd a VFS maintainer,
> > a BPF LSM maintainer, and the Smack maintainer before merging (I
> > covered the LSM and SELinux parts). You might want to double check
> > your definition of "land grab".
> You're still missing the point.
> Christian could have landed it via vfs tree with your ack for security/*.
> You have no power over lsm hook changes within vfs.
I've indicated to a number of colleagues that this issue would begin
to generate considerable dialogue, once everyone finished with their
summer holidays, I see that fact is now eventuating.
There is an important discussion to be had that affects the ability of
Linux to serve the security needs of its constituency, which at this
point now, is pretty much the planet and beyond. Advancing a relevant
discussion requires casting the underlying issue involved in all of
this into perhaps the glow of harsh sunlight.
The issue at hand is not who gets to ACK or NACK various security
relevant infrastructure, based on who manages source code in a
particular directory heirarchy.
The underlying motivation driving all of this is who gets to control
and define what can be advertised as 'mainline' Linux security. This
has been the bane of Linux security development for a quarter century
now, Linus openly acknowledges this fact, ie. security people can
never agree on how to do things.
Given the power that this control conveys on certain parties, the
objective of maintaining this type of control is certainly
understandable.
I have deep respect for Linus, but he has failed to demonstrate
appropriate leadership on this front. Indicating that people should
simply figure out how to use what is already in Linux, given the
current technological tsunami of machine modeling/learning overtaking
all of us, is so hopelessly naive that I cannot believe that he
actually believes what he is saying.
The current static security architectures in Linux, supported by the
LSM model and its development processes, while still technically
useful, will not be operationally relevant to the technology industry
by the end of the decade.
We need a technical architecture to fix to what is a political
problem. That seems consistent with Linux development ostensibly
being about technology rather than politics.
The steps in recovery are admitting, and then identifying, that one
has a problem, before it can be fixed. Given the agendas involved it
seems like a great role for the Linux Foundation to assist with.
We now return you to your regularily scheduled programming of who gets
to ACK/NACK kfuncs.
Greg
My opinions and those of my Golden Retriever Hezzie only.
next prev parent reply other threads:[~2026-09-14 21:24 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-09 19:37 [PATCH bpf-next v3 00/15] BPF interface for applying Landlock rulesets Justin Suess
2026-09-09 19:37 ` [PATCH bpf-next v3 01/15] lsm: Add the LSM policy object lifetime hooks Justin Suess
2026-09-09 19:37 ` [PATCH bpf-next v3 02/15] lsm: Add the bprm_apply_policy_object LSM hook Justin Suess
2026-09-09 19:37 ` [PATCH bpf-next v3 03/15] lsm: Move the lsm_for_each_hook() macro to security/lsm.h Justin Suess
2026-09-09 19:37 ` [PATCH bpf-next v3 04/15] lsm: Add the bpf_lsm_policy_release kfunc and policy object destructor Justin Suess
2026-09-09 20:29 ` bot+bpf-ci
2026-09-09 21:34 ` Paul Moore
2026-09-09 22:20 ` Justin Suess
2026-09-09 23:08 ` Paul Moore
2026-09-12 3:37 ` Alexei Starovoitov
2026-09-12 5:26 ` Justin Suess
2026-09-12 19:33 ` Alexei Starovoitov
2026-09-13 19:41 ` Paul Moore
2026-09-13 23:24 ` LSM boundaries. Was: " Alexei Starovoitov
2026-09-14 0:10 ` Paul Moore
2026-09-14 2:24 ` Alexei Starovoitov
2026-09-14 21:18 ` Dr. Greg [this message]
2026-09-15 13:00 ` Christian Brauner
2026-09-15 13:48 ` Paul Moore
2026-09-16 8:48 ` Christian Brauner
2026-09-14 0:20 ` Justin Suess
2026-09-14 2:31 ` Alexei Starovoitov
2026-09-15 1:13 ` Justin Suess
2026-09-16 17:37 ` Dr. Greg
2026-09-16 16:06 ` Dr. Greg
2026-09-15 9:25 ` Mickaël Salaün
2026-09-16 17:02 ` Dr. Greg
2026-09-16 20:58 ` Mickaël Salaün
2026-09-16 20:20 ` Günther Noack
2026-09-09 19:37 ` [PATCH bpf-next v3 05/15] lsm: Add the bpf_lsm_policy_from_fd kfunc Justin Suess
2026-09-09 20:46 ` bot+bpf-ci
2026-09-09 19:37 ` [PATCH bpf-next v3 06/15] lsm: Add the bpf_lsm_policy_acquire kfunc Justin Suess
2026-09-09 20:30 ` bot+bpf-ci
2026-09-09 19:37 ` [PATCH bpf-next v3 07/15] lsm: Add the bpf_lsm_policy_apply_bprm kfunc Justin Suess
2026-09-12 3:38 ` Alexei Starovoitov
2026-09-12 5:39 ` Justin Suess
2026-09-09 19:37 ` [PATCH bpf-next v3 08/15] lsm: Document the LSM policy object interface Justin Suess
2026-09-09 19:37 ` [PATCH bpf-next v3 09/15] selftests/bpf: Add tests for the LSM policy object kfuncs Justin Suess
2026-09-09 20:30 ` bot+bpf-ci
2026-09-09 19:37 ` [PATCH bpf-next v3 10/15] landlock: Expose the ruleset fd lookup to the rest of Landlock Justin Suess
2026-09-09 19:37 ` [PATCH bpf-next v3 11/15] landlock: Factor the credential restriction out of landlock_restrict_self() Justin Suess
2026-09-09 20:29 ` bot+bpf-ci
2026-09-09 19:37 ` [PATCH bpf-next v3 12/15] landlock: Free rulesets after an RCU grace period Justin Suess
2026-09-09 20:46 ` bot+bpf-ci
2026-09-09 19:37 ` [PATCH bpf-next v3 13/15] landlock: Implement the LSM policy object hooks Justin Suess
2026-09-09 20:46 ` bot+bpf-ci
2026-09-09 19:37 ` [PATCH bpf-next v3 14/15] selftests/bpf: Test the LSM policy object kfuncs with Landlock Justin Suess
2026-09-09 20:46 ` bot+bpf-ci
2026-09-09 19:37 ` [PATCH bpf-next v3 15/15] landlock: Document the BPF policy interface Justin Suess
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=aqhkqDvwM6loGihB@wind.enjellic.com \
--to=greg@enjellic.com \
--cc=alexei.starovoitov@gmail.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=jack@suse.cz \
--cc=jolsa@kernel.org \
--cc=kees@kernel.org \
--cc=kpsingh@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=m@maowtm.org \
--cc=matt@bobrowski.net \
--cc=memxor@gmail.com \
--cc=mic@digikod.net \
--cc=paul@paul-moore.com \
--cc=song@kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=utilityemal77@gmail.com \
--cc=viro@zeniv.linux.org.uk \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®