From: john.johansen@canonical.com (John Johansen) Date: Mon, 17 Sep 2018 16:26:09 -0700 Subject: [PATCH 16/18] LSM: Allow arbitrary LSM ordering In-Reply-To: References: <20180916003059.1046-1-keescook@chromium.org> <20180916003059.1046-17-keescook@chromium.org> <84e1a5a8-8997-829f-cf09-1d29895a3f99@schaufler-ca.com> <35b0af5b-e37e-e192-73b5-0d0b37d9e37f@schaufler-ca.com> <8f0bd39b-29a6-325d-4558-d9f484249c22@schaufler-ca.com> <53377892-695f-6336-8574-54c7aa0a4201@schaufler-ca.com> <7ecfffc3-d2a4-3ff7-4bf5-db3029d73c59@canonical.com> Message-ID: <060150b2-4bb4-bdcb-760a-5aa5e1ade381@canonical.com> To: linux-security-module@vger.kernel.org List-Id: linux-security-module.vger.kernel.org On 09/17/2018 04:20 PM, Kees Cook wrote: > On Mon, Sep 17, 2018 at 4:10 PM, Micka?l Sala?n wrote: >> Landlock, because it target unprivileged users, should only be called >> after all other major (access-control) LSMs. The admin or distro must >> not be able to change that order in any way. This constraint doesn't >> apply to current LSMs, though. > > Good point! It will be easy to add LSM_ORDER_LAST, though, given the > machinery introduced in this series. > And when we have two LSMs that want to use that?