Re: [PATCH] LoadPin: Allow filesystem switch when not enforcing

2021-04-10 Thread kernel test robot
Hi Kees, I love your patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on kees/for-next/pstore linus/master v5.12-rc6 next-20210409] [cannot apply to kees/for-next/loadpin] [If your patch is applied to the wrong git tree, kindly drop us a note. And w

Re: [PATCH] LoadPin: Allow filesystem switch when not enforcing

2021-04-10 Thread kernel test robot
Hi Kees, I love your patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on kees/for-next/pstore linus/master v5.12-rc6 next-20210409] [cannot apply to kees/for-next/loadpin] [If your patch is applied to the wrong git tree, kindly drop us a note. And w

[PATCH] LoadPin: Allow filesystem switch when not enforcing

2021-04-08 Thread Kees Cook
For LoadPin to be used at all in a classic distro environment, it needs to allow for switching filesystems (from the initramfs to the "real" root filesystem). If the "enforce" mode is not set, reset the pinned filesystem tracking when the pinned filesystem gets unmounted. Signed-off-by: Kees Cook