Re: [PATCH 16/18] LSM: Allow arbitrary LSM ordering

From: Kees Cook
Date: Mon Sep 17 2018 - 19:20:35 EST


On Mon, Sep 17, 2018 at 4:10 PM, MickaÃl SalaÃn <mic@xxxxxxxxxxx> 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.

-Kees

--
Kees Cook
Pixel Security