syscall.sh / parisc / bpf

bpf

perform a command on an extended BPF map or program

sys_bpf(int cmd, union bpf_attr *attr, unsigned int size, struct bpf_common_attr *attr_common, unsigned int size_common)
number341 (0x155)
abicommon
entry pointsys_bpf
sinceLinux 5.0
man pagebpf(2)
sourceelixir.bootlin.com

Registers

registervalue
r20341, the syscall number
r26int cmd
r25union bpf_attr *attr
r24unsigned int size
r23struct bpf_common_attr *attr_common
r22unsigned int size_common
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/bpf