From: Kees Cook <kees@kernel.org>
To: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>,
Casey Schaufler <casey@schaufler-ca.com>,
linux-security-module <linux-security-module@vger.kernel.org>,
KP Singh <kpsingh@kernel.org>, Paul Moore <paul@paul-moore.com>,
bpf <bpf@vger.kernel.org>
Cc: Kees Cook <keescook@chromium.org>,
Linus Torvalds <torvalds@linux-foundation.org>
Subject: Re: [RFC PATCH 1/2] LSM: Allow dynamically appendable LSM modules.
Date: Sun, 01 Oct 2023 08:44:15 -0700 [thread overview]
Message-ID: <06BC106C-E0FD-4ACA-83A8-DFD1400B696E@kernel.org> (raw)
In-Reply-To: <b2cd749e-a716-1a13-6550-44a232deac25@I-love.SAKURA.ne.jp>
On October 1, 2023 4:31:05 AM PDT, Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> wrote:
>Kees Cook said there is no problem if the policy of assigning LSM ID value were
>
> 1) author: "Hello, here is a new LSM I'd like to upstream, here it is. I assigned
> it the next LSM ID."
> maintainer(s): "Okay, sounds good. *review*"
>
> 2) author: "Hello, here is an LSM that has been in active use at $Place,
> and we have $Xxx many userspace applications that we cannot easily
> rebuild. We used LSM ID $Value that is far away from the sequential
> list of LSM IDs, and we'd really prefer to keep that assignment."
> maintainer(s): "Okay, sounds good. *review*"
>
>and I agreed at https://lkml.kernel.org/r/6e1c25f5-b78c-8b4e-ddc3-484129c4c0ec@I-love.SAKURA.ne.jp .
>
>But Paul Moore's response was
>
> No LSM ID value is guaranteed until it is present in a tagged release
> from Linus' tree, and once a LSM ID is present in a tagged release
> from Linus' tree it should not change. That's *the* policy.
>
>which means that the policy is not what Kees Cook has said.
These don't conflict at all! Paul is saying an ID isn't guaranteed in upstream until it's in upstream. I'm saying the id space is large enough that you could make a new out of tree LSM every second for the next billion years. The upstream assignment process is likely sequential, but that out of sequence LSMs that show a need to be upstream could make a case for their existing value.
But again, I've already demonstrated how there is nothing technical blocking out of tree LSMs. If you want a declarative statement that some theoretical code will land upstream, you will not get it. And that's just normal FLOSS development: any number of technical, social, or political things may cause code to go unaccepted.
-Kees
--
Kees Cook
next prev parent reply other threads:[~2023-10-01 15:44 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-27 15:08 [RFC PATCH 1/2] LSM: Allow dynamically appendable LSM modules Tetsuo Handa
2023-09-27 15:09 ` [RFC PATCH 2/2] LSM: A sample of dynamically appendable LSM module Tetsuo Handa
2023-09-27 16:05 ` Song Liu
2023-09-27 15:33 ` [RFC PATCH 1/2] LSM: Allow dynamically appendable LSM modules Greg KH
2023-09-27 16:02 ` KP Singh
2023-10-01 11:08 ` Tetsuo Handa
2023-10-01 14:43 ` KP Singh
2023-10-03 14:27 ` Tetsuo Handa
2023-10-03 15:09 ` KP Singh
2023-10-21 14:19 ` Tetsuo Handa
2023-10-21 15:20 ` KP Singh
2023-10-22 13:34 ` Tetsuo Handa
2023-10-03 23:27 ` Paul Moore
2023-10-03 23:41 ` KP Singh
2023-10-05 9:47 ` José Bollo
2023-10-05 13:59 ` Tetsuo Handa
2023-10-05 14:12 ` KP Singh
2023-09-27 16:37 ` Casey Schaufler
2023-10-01 11:31 ` Tetsuo Handa
2023-10-01 15:19 ` Casey Schaufler
2023-10-04 10:40 ` Tetsuo Handa
2023-10-04 10:48 ` Tetsuo Handa
2023-10-20 20:40 ` Casey Schaufler
2023-10-21 12:21 ` Tetsuo Handa
2023-10-01 15:44 ` Kees Cook [this message]
2023-10-02 10:04 ` Tetsuo Handa
2023-10-02 17:05 ` Kees Cook
2023-10-03 23:39 ` Paul Moore
2023-10-05 10:48 ` Tetsuo Handa
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=06BC106C-E0FD-4ACA-83A8-DFD1400B696E@kernel.org \
--to=kees@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=casey@schaufler-ca.com \
--cc=keescook@chromium.org \
--cc=kpsingh@kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=paul@paul-moore.com \
--cc=penguin-kernel@I-love.SAKURA.ne.jp \
--cc=torvalds@linux-foundation.org \
/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;
as well as URLs for NNTP newsgroup(s).