https://bugs.kde.org/show_bug.cgi?id=478774

Garrett Kajmowicz <gkajm...@tbaytel.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |CONFIRMED
     Ever confirmed|0                           |1
           Assignee|pjfl...@wanadoo.fr          |gkajm...@tbaytel.net

--- Comment #4 from Garrett Kajmowicz <gkajm...@tbaytel.net> ---
Created attachment 168308
  --> https://bugs.kde.org/attachment.cgi?id=168308&action=edit
Handle btf_info for BPF_OBJ_GET_INFO_BY_FD syscall.

The eBPF syscall documented here:
https://docs.kernel.org/userspace-api/ebpf/syscall.html
has a subtype of BPF_OBJ_GET_INFO_BY_FD which gets information about something
based on the file descriptor passed in. The types of data structures used vary
based on the type of object the file descriptor refers to.

The definition of enum bpf_obj_type is a copy of the data structure used in the
kernel bpftool here:
https://elixir.bootlin.com/linux/v6.6.7/source/tools/bpf/bpftool/main.h#L67

Note that though the definition for BPF_OBJ_LINK was included for completeness,
handling of that subtype was not implemented here and the existing behavior
remains.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to