From: Casey Schaufler <casey@schaufler-ca.com> To: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>, paul Moore <paul@paul-moore.com>, LSM List <linux-security-module@vger.kernel.org> Cc: James Morris <jmorris@namei.org>, linux-audit@redhat.com, John Johansen <john.johansen@canonical.com>, Mimi Zohar <zohar@linux.ibm.com>, keescook@chromium.org, SElinux list <selinux@vger.kernel.org>, casey@schaufler-ca.com Subject: Re: LSM stacking in next for 6.1? Date: Thu, 8 Sep 2022 09:00:42 -0700 [thread overview] Message-ID: <998087b2-c17d-e536-66ff-a473fe6b799a@schaufler-ca.com> (raw) In-Reply-To: <8ac2731c-a1db-df7b-3690-dac2b371e431@I-love.SAKURA.ne.jp> On 9/8/2022 8:18 AM, Tetsuo Handa wrote: > On 2022/08/03 9:01, Casey Schaufler wrote: >> I would like very much to get v38 or v39 of the LSM stacking for Apparmor >> patch set in the LSM next branch for 6.1. The audit changes have polished >> up nicely and I believe that all comments on the integrity code have been >> addressed. The interface_lsm mechanism has been beaten to a frothy peak. >> There are serious binder changes, but I think they address issues beyond >> the needs of stacking. Changes outside these areas are pretty well limited >> to LSM interface improvements. >> > After ((SELinux xor Smack) and AppArmor) is made possible in next for 6.1, what > comes next? Are you planning to make (SELinux and Smack and AppArmor) possible? The stacking isn't going into 6.1. Paul's decision that LSM system calls are a requirement will require additional work. With LSS-EU next week and a long overdue trip on my part in early October I don't see 6.2 as at all likely, either. The commitment I made to Paul some years ago now was that the stacking would eventually include making all combinations possible. That is still my plan. The issues beyond ((SELinux xor Smack) and AppArmor) are primarily network related. Secmarks, netlabel and SO_PEERSEC in particular. I have posted preliminary patches in the past, but they need to be revisited in light of development that has occurred since then. On the other hand, I'm getting the "when are you going to retire?" question way way way too regularly these days. While I intend to complete the work as promised, I don't expect to be working on much with significant importance come 2030. > My concern is, when loadable LSM modules becomes legal, for I'm refraining from > again proposing CaitSith until LSM stacking completes. I would not wait. There is no reason the efforts cannot progress in parallel. > Linus Torvalds said > > You security people are insane. I'm tired of this "only my version is correct" crap. My favorite Linus quote of all time. I try to include it in every presentation I give. > at https://lkml.kernel.org/r/alpine.LFD.0.999.0710010803280.3579@woody.linux-foundation.org . > > Many modules > > SimpleFlow ( 2016/04/21 https://lwn.net/Articles/684825/ ) > HardChroot ( 2016/07/29 https://lwn.net/Articles/695984/ ) > Checmate ( 2016/08/04 https://lwn.net/Articles/696344/ ) > LandLock ( 2016/08/25 https://lwn.net/Articles/698226/ ) > PTAGS ( 2016/09/29 https://lwn.net/Articles/702639/ ) > CaitSith ( 2016/10/21 https://lwn.net/Articles/704262/ ) > SafeName ( 2016/05/03 https://lwn.net/Articles/686021/ ) > WhiteEgret ( 2017/05/30 https://lwn.net/Articles/724192/ ) > shebang ( 2017/06/09 https://lwn.net/Articles/725285/ ) > S.A.R.A. ( 2017/06/13 https://lwn.net/Articles/725230/ ) > > are proposed 5 or 6 years ago, but mostly became silent... Yes. Unless a major distributor (Redhat, Canonical, ...) decides to include it the upstream potential of an LSM is very limited. > I still need byte-code analysis for finding the hook and code for making the hook > writable in AKARI/CaitSith due to lack of EXPORT_SYMBOL_GPL(security_add_hooks). > I wonder when I can stop questions like https://osdn.net/projects/tomoyo/lists/archive/users-en/2022-September/000740.html > caused by https://patchwork.kernel.org/project/linux-security-module/patch/alpine.LRH.2.20.1702131631490.8914@namei.org/ . The BPF people made noises about revamping the way LSM hooks get called for performance reasons, but I have not seen a proposal from them. I have assumed that they will get around to it eventually. > Last 10 years, my involvement with Linux kernel is "fixing bugs" rather than > "developing security mechanisms". Changes what I found in the past 10 years are: > > As far as I'm aware, more than 99% of systems still disable SELinux. People use RHEL, > but the reason to choose RHEL is not because RHEL supports SELinux. The only thing > changed is that the way to disable SELinux changed from SELINUX=disabled in > /etc/selinux/config to selinux=0 on kernel command line options.
WARNING: multiple messages have this Message-ID (diff)
From: Casey Schaufler <casey@schaufler-ca.com> To: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>, paul Moore <paul@paul-moore.com>, LSM List <linux-security-module@vger.kernel.org> Cc: John Johansen <john.johansen@canonical.com>, SElinux list <selinux@vger.kernel.org>, James Morris <jmorris@namei.org>, Mimi Zohar <zohar@linux.ibm.com>, linux-audit@redhat.com Subject: Re: LSM stacking in next for 6.1? Date: Thu, 8 Sep 2022 09:00:42 -0700 [thread overview] Message-ID: <998087b2-c17d-e536-66ff-a473fe6b799a@schaufler-ca.com> (raw) In-Reply-To: <8ac2731c-a1db-df7b-3690-dac2b371e431@I-love.SAKURA.ne.jp> On 9/8/2022 8:18 AM, Tetsuo Handa wrote: > On 2022/08/03 9:01, Casey Schaufler wrote: >> I would like very much to get v38 or v39 of the LSM stacking for Apparmor >> patch set in the LSM next branch for 6.1. The audit changes have polished >> up nicely and I believe that all comments on the integrity code have been >> addressed. The interface_lsm mechanism has been beaten to a frothy peak. >> There are serious binder changes, but I think they address issues beyond >> the needs of stacking. Changes outside these areas are pretty well limited >> to LSM interface improvements. >> > After ((SELinux xor Smack) and AppArmor) is made possible in next for 6.1, what > comes next? Are you planning to make (SELinux and Smack and AppArmor) possible? The stacking isn't going into 6.1. Paul's decision that LSM system calls are a requirement will require additional work. With LSS-EU next week and a long overdue trip on my part in early October I don't see 6.2 as at all likely, either. The commitment I made to Paul some years ago now was that the stacking would eventually include making all combinations possible. That is still my plan. The issues beyond ((SELinux xor Smack) and AppArmor) are primarily network related. Secmarks, netlabel and SO_PEERSEC in particular. I have posted preliminary patches in the past, but they need to be revisited in light of development that has occurred since then. On the other hand, I'm getting the "when are you going to retire?" question way way way too regularly these days. While I intend to complete the work as promised, I don't expect to be working on much with significant importance come 2030. > My concern is, when loadable LSM modules becomes legal, for I'm refraining from > again proposing CaitSith until LSM stacking completes. I would not wait. There is no reason the efforts cannot progress in parallel. > Linus Torvalds said > > You security people are insane. I'm tired of this "only my version is correct" crap. My favorite Linus quote of all time. I try to include it in every presentation I give. > at https://lkml.kernel.org/r/alpine.LFD.0.999.0710010803280.3579@woody.linux-foundation.org . > > Many modules > > SimpleFlow ( 2016/04/21 https://lwn.net/Articles/684825/ ) > HardChroot ( 2016/07/29 https://lwn.net/Articles/695984/ ) > Checmate ( 2016/08/04 https://lwn.net/Articles/696344/ ) > LandLock ( 2016/08/25 https://lwn.net/Articles/698226/ ) > PTAGS ( 2016/09/29 https://lwn.net/Articles/702639/ ) > CaitSith ( 2016/10/21 https://lwn.net/Articles/704262/ ) > SafeName ( 2016/05/03 https://lwn.net/Articles/686021/ ) > WhiteEgret ( 2017/05/30 https://lwn.net/Articles/724192/ ) > shebang ( 2017/06/09 https://lwn.net/Articles/725285/ ) > S.A.R.A. ( 2017/06/13 https://lwn.net/Articles/725230/ ) > > are proposed 5 or 6 years ago, but mostly became silent... Yes. Unless a major distributor (Redhat, Canonical, ...) decides to include it the upstream potential of an LSM is very limited. > I still need byte-code analysis for finding the hook and code for making the hook > writable in AKARI/CaitSith due to lack of EXPORT_SYMBOL_GPL(security_add_hooks). > I wonder when I can stop questions like https://osdn.net/projects/tomoyo/lists/archive/users-en/2022-September/000740.html > caused by https://patchwork.kernel.org/project/linux-security-module/patch/alpine.LRH.2.20.1702131631490.8914@namei.org/ . The BPF people made noises about revamping the way LSM hooks get called for performance reasons, but I have not seen a proposal from them. I have assumed that they will get around to it eventually. > Last 10 years, my involvement with Linux kernel is "fixing bugs" rather than > "developing security mechanisms". Changes what I found in the past 10 years are: > > As far as I'm aware, more than 99% of systems still disable SELinux. People use RHEL, > but the reason to choose RHEL is not because RHEL supports SELinux. The only thing > changed is that the way to disable SELinux changed from SELINUX=disabled in > /etc/selinux/config to selinux=0 on kernel command line options. -- Linux-audit mailing list Linux-audit@redhat.com https://listman.redhat.com/mailman/listinfo/linux-audit
next prev parent reply other threads:[~2022-09-08 16:00 UTC|newest] Thread overview: 148+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <791e13b5-bebd-12fc-53de-e9a86df23836.ref@schaufler-ca.com> 2022-08-03 0:01 ` LSM stacking in next for 6.1? Casey Schaufler 2022-08-03 0:01 ` Casey Schaufler 2022-08-03 0:56 ` Paul Moore 2022-08-03 0:56 ` Paul Moore 2022-08-03 1:56 ` John Johansen 2022-08-03 1:56 ` John Johansen 2022-08-03 2:15 ` Casey Schaufler 2022-08-03 2:15 ` Casey Schaufler 2022-08-03 2:33 ` Paul Moore 2022-08-03 2:33 ` Paul Moore 2022-08-03 2:34 ` Steve Grubb 2022-08-03 2:34 ` Steve Grubb 2022-08-03 2:40 ` Paul Moore 2022-08-03 2:40 ` Paul Moore 2022-09-02 21:30 ` Paul Moore 2022-09-02 21:30 ` Paul Moore 2022-09-02 23:14 ` Casey Schaufler 2022-09-02 23:14 ` Casey Schaufler 2022-09-02 23:57 ` Casey Schaufler 2022-09-02 23:57 ` Casey Schaufler 2022-09-06 23:24 ` Paul Moore 2022-09-06 23:24 ` Paul Moore 2022-09-07 0:10 ` John Johansen 2022-09-07 0:10 ` John Johansen 2022-09-07 0:39 ` Casey Schaufler 2022-09-07 0:39 ` Casey Schaufler 2022-09-07 0:50 ` John Johansen 2022-09-07 0:50 ` John Johansen 2022-09-07 14:41 ` Paul Moore 2022-09-07 14:41 ` Paul Moore 2022-09-07 16:41 ` Casey Schaufler 2022-09-07 16:41 ` Casey Schaufler 2022-09-07 17:23 ` John Johansen 2022-09-07 17:23 ` John Johansen 2022-09-07 22:57 ` Paul Moore 2022-09-07 22:57 ` Paul Moore 2022-09-07 23:27 ` Paul Moore 2022-09-07 23:27 ` Paul Moore 2022-09-07 23:53 ` Casey Schaufler 2022-09-07 23:53 ` Casey Schaufler 2022-09-08 0:19 ` John Johansen 2022-09-08 0:19 ` John Johansen 2022-09-08 3:57 ` Paul Moore 2022-09-08 3:57 ` Paul Moore 2022-09-08 18:05 ` Casey Schaufler 2022-09-08 18:05 ` Casey Schaufler 2022-09-08 18:35 ` John Johansen 2022-09-08 18:35 ` John Johansen 2022-09-08 19:32 ` Paul Moore 2022-09-08 19:32 ` Paul Moore 2022-09-08 22:56 ` Casey Schaufler 2022-09-08 22:56 ` Casey Schaufler 2022-09-10 4:17 ` Tetsuo Handa 2022-09-10 4:17 ` Tetsuo Handa 2022-09-12 17:37 ` Casey Schaufler 2022-09-12 17:37 ` Casey Schaufler 2022-09-13 10:47 ` Tetsuo Handa 2022-09-13 10:47 ` Tetsuo Handa 2022-09-13 14:45 ` Casey Schaufler 2022-09-13 14:45 ` Casey Schaufler 2022-09-14 13:57 ` Tetsuo Handa 2022-09-14 13:57 ` Tetsuo Handa 2022-09-14 15:50 ` Casey Schaufler 2022-09-14 15:50 ` Casey Schaufler 2022-09-15 14:27 ` Tetsuo Handa 2022-09-15 14:27 ` Tetsuo Handa 2022-09-15 14:54 ` John Johansen 2022-09-15 14:54 ` John Johansen 2022-09-15 7:45 ` John Johansen 2022-09-15 7:45 ` John Johansen 2022-09-15 14:27 ` Tetsuo Handa 2022-09-15 14:27 ` Tetsuo Handa 2022-10-25 9:48 ` Tetsuo Handa 2022-10-25 9:48 ` Tetsuo Handa 2022-10-25 10:26 ` John Johansen 2022-10-25 10:26 ` John Johansen 2022-10-25 11:20 ` Tetsuo Handa 2022-10-25 11:20 ` Tetsuo Handa 2022-10-25 14:12 ` Casey Schaufler 2022-10-25 14:12 ` Casey Schaufler 2022-10-25 22:12 ` Tetsuo Handa 2022-10-25 22:12 ` Tetsuo Handa 2022-10-25 22:41 ` Casey Schaufler 2022-10-25 22:41 ` Casey Schaufler 2022-10-26 10:19 ` Tetsuo Handa 2022-10-26 10:19 ` Tetsuo Handa 2022-10-26 15:30 ` Casey Schaufler 2022-10-26 15:30 ` Casey Schaufler 2022-10-28 10:14 ` John Johansen 2022-10-28 10:14 ` John Johansen 2022-10-30 4:03 ` Tetsuo Handa 2022-10-30 4:03 ` Tetsuo Handa 2022-10-30 7:23 ` John Johansen 2022-10-30 7:23 ` John Johansen 2022-10-30 14:02 ` Tetsuo Handa 2022-10-30 14:02 ` Tetsuo Handa 2022-10-30 16:37 ` Kees Cook 2022-10-30 16:37 ` Kees Cook 2022-10-30 20:56 ` Casey Schaufler 2022-10-30 20:56 ` Casey Schaufler 2022-10-31 10:26 ` Tetsuo Handa 2022-10-31 10:26 ` Tetsuo Handa 2022-10-31 15:47 ` Casey Schaufler 2022-10-31 15:47 ` Casey Schaufler 2022-10-26 20:11 ` Paul Moore 2022-10-26 20:11 ` Paul Moore 2022-10-27 0:02 ` Tetsuo Handa 2022-10-27 0:02 ` Tetsuo Handa 2022-10-28 9:50 ` Paul Moore 2022-10-28 9:50 ` Paul Moore 2022-10-28 13:58 ` Tetsuo Handa 2022-10-28 13:58 ` Tetsuo Handa 2022-10-28 17:40 ` Kees Cook 2022-10-28 17:40 ` Kees Cook 2022-10-29 9:33 ` Tetsuo Handa 2022-10-29 9:33 ` Tetsuo Handa 2022-09-14 13:42 ` Paul Moore 2022-09-14 13:42 ` Paul Moore 2022-09-27 20:54 ` Casey Schaufler 2022-09-27 20:54 ` Casey Schaufler 2022-09-27 22:37 ` Paul Moore 2022-09-27 22:37 ` Paul Moore 2022-09-07 0:31 ` Casey Schaufler 2022-09-07 0:31 ` Casey Schaufler 2022-09-07 15:13 ` Paul Moore 2022-09-07 15:13 ` Paul Moore 2022-09-07 17:08 ` Casey Schaufler 2022-09-07 17:08 ` Casey Schaufler 2022-09-07 23:04 ` Paul Moore 2022-09-07 23:04 ` Paul Moore 2022-09-07 23:26 ` Casey Schaufler 2022-09-07 23:26 ` Casey Schaufler 2022-09-08 15:18 ` Tetsuo Handa 2022-09-08 15:18 ` Tetsuo Handa 2022-09-08 16:00 ` Casey Schaufler [this message] 2022-09-08 16:00 ` Casey Schaufler 2022-09-08 18:52 ` Paul Moore 2022-09-08 18:52 ` Paul Moore 2022-09-09 11:32 ` Tetsuo Handa 2022-09-09 11:32 ` Tetsuo Handa 2022-09-14 13:56 ` Paul Moore 2022-09-14 13:56 ` Paul Moore 2022-09-15 14:27 ` Tetsuo Handa 2022-09-15 14:27 ` Tetsuo Handa 2022-09-15 15:50 ` Casey Schaufler 2022-09-15 15:50 ` Casey Schaufler 2022-09-16 13:34 ` Tetsuo Handa 2022-09-16 13:34 ` 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=998087b2-c17d-e536-66ff-a473fe6b799a@schaufler-ca.com \ --to=casey@schaufler-ca.com \ --cc=jmorris@namei.org \ --cc=john.johansen@canonical.com \ --cc=keescook@chromium.org \ --cc=linux-audit@redhat.com \ --cc=linux-security-module@vger.kernel.org \ --cc=paul@paul-moore.com \ --cc=penguin-kernel@I-love.SAKURA.ne.jp \ --cc=selinux@vger.kernel.org \ --cc=zohar@linux.ibm.com \ /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: linkBe 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.