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

pkg: pine64: linux-megi: add eBPF support #417

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

lafleurdeboum
Copy link

The archlinuxarm repository provides a package for BCC, the BPF Compiler Collection. As of today this package doesn't work on the pinephone, because the current kernel config lacks eBPF support.

This MR adds the kernel options requested by BCC. I have built the resulting kernel and can confirm that the BCC tools work (eg those that get installed at /usr/share/bcc/tools/).

BCC brings very powerful tools that may be used for fine-grained network security, like the ability to filter network request per process using cgroups. I humbly claim that it's a must-have for Arch on the Pinephone.

Comments welcome !

# CONFIG_INIT_STACK_ALL_PATTERN is not set
CONFIG_INIT_STACK_ALL_ZERO=y
# CONFIG_INIT_STACK_ALL_ZERO is not set
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just enabled this in the last kernel, why is it disabled?

@lafleurdeboum
Copy link
Author

lafleurdeboum commented Jun 16, 2022 via email

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

Successfully merging this pull request may close these issues.

None yet

2 participants