iovisor / iovisor/bcc

Documentation: root permission/access requirements in bcc/docs/kernel-versions.md

Open
#3,374 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

Despite the fact, that major Linux distributions set either `kernel.unprivileged_bpf_disabled = 0` (or give capability `CAP_BPF` to all processes of all users) *by default*, I think it'd be valuable to add information about (potentially) required `root` permissions/access to the documentation (incl. note about `kernel.unprivileged_bpf_disabled = 0` and `CAP_BPF`).

Namely to the table **Program Types** in `bcc/docs/kernel-versions.md`. Maybe as another column before the current first column `Program Type`.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open bcc/docs/kernel-versions.md and read the Program Types table, then verify how root access, kernel.unprivileged_bpf_disabled, and CAP_BPF affect the documented program types. Done means the table clearly includes the potentially required access information without obscuring its existing kernel-version guidance.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
documentation, operating-systems, security
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.