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)
| number | 341 (0x155) |
|---|---|
| abi | common |
| entry point | sys_bpf |
| since | Linux 5.0 |
| man page | bpf(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 341, the syscall number |
r26 | int cmd |
r25 | union bpf_attr *attr |
r24 | unsigned int size |
r23 | struct bpf_common_attr *attr_common |
r22 | unsigned int size_common |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 321
- x86 357
- arm64 280
- arm 386
- riscv64 280
- x32 1073742145
- loongarch64 280
- ppc64 361
- ppc 361
- s390x 351
- mips64 5315
- mipsn32 6319
- mipso32 4355
- alpha 515
- arc 280
- csky 280
- hexagon 280
- m68k 354
- microblaze 387
- nios2 280
- openrisc 280
- sh 375
- sparc 349
- sparc64 349
- xtensa 340
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/bpf