Currently Linux distributions don't enable BPF LSM by default. Enabling it requires editing GRUB configuration and providing custom kernel parameter like:
GRUB_CMDLINE_LINUX="lsm=lockdown,capability,bpf"
This is not really convenient and we should rather push distros to enable that.
Currently Linux distributions don't enable BPF LSM by default. Enabling it requires editing GRUB configuration and providing custom kernel parameter like:
This is not really convenient and we should rather push distros to enable that.
To change that, we need to add
bpfto theCONFIG_LSMlist in kernel configs.Distros support: