Re: [PATCH bpf] security: Fix the default value of fs_context_parse_param hook

From: Mikko Ylinen
Date: Fri May 01 2020 - 03:31:08 EST




On 30/04/2020 18:52, KP Singh wrote:
This was noticed when lsm=bpf is supplied on the command line before any
other LSM. As the bpf lsm uses this default value to implement a default
hook, this resulted in a failure to parse any fs_context parameters and
a failure to mount the root filesystem.

Tested-by: Mikko Ylinen <mikko.ylinen@xxxxxxxxxxxxxxx>