Re: [PATCH] bpf: lsm: Disable or enable BPF LSM at boot time

2020-07-06 Thread KP Singh
On Mon, Jul 6, 2020 at 10:06 PM Lorenzo Fontana wrote: > > On Mon, Jul 06, 2020 at 08:59:13PM +0200, KP Singh wrote: > > On Mon, Jul 6, 2020 at 8:51 PM Daniel Borkmann wrote: > > > > > > On 7/6/20 6:57 PM, Lorenzo Fontana wrote: > > > > This option adds a kernel parameter 'bpf_lsm', > > > > which

Re: [PATCH] bpf: lsm: Disable or enable BPF LSM at boot time

2020-07-06 Thread Lorenzo Fontana
On Mon, Jul 06, 2020 at 08:59:13PM +0200, KP Singh wrote: > On Mon, Jul 6, 2020 at 8:51 PM Daniel Borkmann wrote: > > > > On 7/6/20 6:57 PM, Lorenzo Fontana wrote: > > > This option adds a kernel parameter 'bpf_lsm', > > > which allows the BPF LSM to be disabled at boot. > > > The purpose of this

Re: [PATCH] bpf: lsm: Disable or enable BPF LSM at boot time

2020-07-06 Thread KP Singh
On Mon, Jul 6, 2020 at 8:51 PM Daniel Borkmann wrote: > > On 7/6/20 6:57 PM, Lorenzo Fontana wrote: > > This option adds a kernel parameter 'bpf_lsm', > > which allows the BPF LSM to be disabled at boot. > > The purpose of this option is to allow a single kernel > > image to be distributed with th

Re: [PATCH] bpf: lsm: Disable or enable BPF LSM at boot time

2020-07-06 Thread Daniel Borkmann
On 7/6/20 6:57 PM, Lorenzo Fontana wrote: This option adds a kernel parameter 'bpf_lsm', which allows the BPF LSM to be disabled at boot. The purpose of this option is to allow a single kernel image to be distributed with the BPF LSM built in, but not necessarily enabled. Signed-off-by: Lorenzo