Bug 1781646 - RFE: Add toplevel filesystem directories for storing eBPF bytecode files
Summary: RFE: Add toplevel filesystem directories for storing eBPF bytecode files
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: filesystem
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1773924 1788999
TreeView+ depends on / blocked
 
Reported: 2019-12-10 11:06 UTC by Toke Høiland-Jørgensen
Modified: 2020-01-08 14:37 UTC (History)
4 users (show)

Fixed In Version: filesystem-3.13-1.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1788999 (view as bug list)
Environment:
Last Closed: 2020-01-08 14:26:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Patch to add bpf-related directories (2.45 KB, patch)
2019-12-10 11:06 UTC, Toke Høiland-Jørgensen
no flags Details | Diff

Description Toke Høiland-Jørgensen 2019-12-10 11:06:22 UTC
Created attachment 1643630 [details]
Patch to add bpf-related directories

Description of problem:

The kernel eBPF subsystem allows applications to load bytecode into the kernel for various purposes. Not many applications are including such bytecode yet, and so we want to establish a convention for where to store bytecode files to encourage applications to be consistent in this, and make it easier to identify which packages are the source of eBPF programs running on the system.

To this end, the attached patch adds the following directories to the 'filesystem' package:

For pre-compiled eBPF bytecode files:
/usr/%{_lib}/bpf
/usr/local/%{_lib}/bpf

For caching runtime-generated eBPF bytecode:
/var/cache/bpf

Upstream discussion:
https://lore.kernel.org/bpf/87r21ch3xr.fsf@toke.dk/T/


Note You need to log in before you can comment on or make changes to this bug.