Pine64-Arch icon indicating copy to clipboard operation
Pine64-Arch copied to clipboard

pkg: pine64: linux-megi: add eBPF support

Open lafleurdeboum opened this issue 3 years ago • 1 comments

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 !

lafleurdeboum avatar Jun 14 '22 11:06 lafleurdeboum

Oh that's on me, I did an oldconfig and this was the default setting. It's corrected by my latest commit. I haven't had time to recompile with this setting on, but I guess it should be OK

Le June 16, 2022 8:31:37 AM UTC, Danct12 @.> a écrit : @. commented on this pull request.

CONFIG_INIT_STACK_ALL_PATTERN is not set

-CONFIG_INIT_STACK_ALL_ZERO=y +# CONFIG_INIT_STACK_ALL_ZERO is not set

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

-- Reply to this email directly or view it on GitHub: https://github.com/dreemurrs-embedded/Pine64-Arch/pull/417#pullrequestreview-1008690531 You are receiving this because you authored the thread.

Message ID: @.***>

lafleurdeboum avatar Jun 16 '22 12:06 lafleurdeboum