tw4452852 / zbpf

Writing eBPF in Zig
https://tw4452852.github.io/zbpf/
GNU General Public License v3.0
108 stars 6 forks source link

explain why extended privileges (sudo, doas) are needed + describe upstream and version from shipped dependency #1

Closed matu3ba closed 1 year ago

matu3ba commented 1 year ago

Afaik, only (temporary) attaching stuff to the Kernel needs extended privileges, not building. I guess you are tracking a release of https://github.com/libbpf/libbpf ?

tw4452852 commented 1 year ago

There are two things here that need root privileges:

matu3ba commented 1 year ago

Thanks, feel free to close then unless you think its worth to mention.

tw4452852 commented 1 year ago

As https://github.com/tw4452852/zbpf/commit/bee06176592aef273207e892e307721931af4060 landed, we don't need root privilege to compile right now. FYI.