Skip to content

How to fill tail call map entries at userspace #447

Description

@pvvm

Hello,
I was trying to fill a BPF_MAP_TYPE_PROG_ARRAY map in userspace to execute tail calls.
However, after loading and attaching the caller and callee eBPF functions, retrieving the file descriptor of the map, and updating its entry with the callee program's file descriptor, a "Killed" message is printed.
bpf_map_update_elem(tail_map_fd, &key, &callee_prog_fd, 0));
Am I missing anything?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions