Re: [PATCH security-next v5 12/30] LSM: Provide separate ordered initialization

2018-11-05 Thread Mimi Zohar
On Fri, 2018-11-02 at 13:49 -0700, Kees Cook wrote: > On Fri, Nov 2, 2018 at 11:13 AM, Mimi Zohar wrote: > > I don't recall why "integrity" is on the security_initcall, while both > > IMA and EVM are on the late_initcall(). > > It's because integrity needs to have a VFS buffer allocated extremely

Re: [PATCH security-next v5 12/30] LSM: Provide separate ordered initialization

2018-11-02 Thread Kees Cook
On Fri, Nov 2, 2018 at 11:13 AM, Mimi Zohar wrote: > I don't recall why "integrity" is on the security_initcall, while both > IMA and EVM are on the late_initcall(). It's because integrity needs to have a VFS buffer allocated extremely early, so it used the security init to do it. While it's not

Re: [PATCH security-next v5 12/30] LSM: Provide separate ordered initialization

2018-11-02 Thread Mimi Zohar
Hi Kees, On Wed, 2018-10-10 at 17:18 -0700, Kees Cook wrote: > This provides a place for ordered LSMs to be initialized, separate from > the "major" LSMs. This is mainly a copy/paste from major_lsm_init() to > ordered_lsm_init(), but it will change drastically in later patches. > > What is not ob

[PATCH security-next v5 12/30] LSM: Provide separate ordered initialization

2018-10-10 Thread Kees Cook
This provides a place for ordered LSMs to be initialized, separate from the "major" LSMs. This is mainly a copy/paste from major_lsm_init() to ordered_lsm_init(), but it will change drastically in later patches. What is not obvious in the patch is that this change moves the integrity LSM from majo