Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable BPF LSM in Linux distros #159

Open
4 of 6 tasks
vadorovsky opened this issue Jan 26, 2022 · 4 comments
Open
4 of 6 tasks

Enable BPF LSM in Linux distros #159

vadorovsky opened this issue Jan 26, 2022 · 4 comments
Assignees

Comments

@vadorovsky
Copy link
Member

vadorovsky commented Jan 26, 2022

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.

To change that, we need to add bpf to the CONFIG_LSM list in kernel configs.

Distros support:

@akshatagarwl
Copy link

Is this for enabling CONFIG_BPF_LSM or adding bpf to the list of active LSMs through CONFIG_LSM? Since most if not all of the mentioned distros have already enabled CONFIG_BPF_LSM (1, 2, 3)

@vadorovsky
Copy link
Member Author

@humancalico It's for adding bpf to the CONFIG_LSM list, sorry for not being clear.

We've already done it for openSUSE:
openSUSE/kernel-source@c2c25b1

@vadorovsky vadorovsky self-assigned this Mar 2, 2022
@holyspectral
Copy link

For others who found this issue like me, here is the new ticket for Ubuntu (the original one has expired): https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2054810

@dorkamotorka
Copy link

Any progress on the ubuntu distro? According to the Ubuntu Ticket appears not :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants