syscall.sh / riscv64 / capget

capget

set/get capabilities of thread(s)

sys_capget(cap_user_header_t header, cap_user_data_t dataptr)
number90 (0x5a)
abicommon
entry pointsys_capget
sinceLinux 4.15
man pagecapget(2)
sourceelixir.bootlin.com

Registers

registervalue
a790, the syscall number
a0cap_user_header_t header
a1cap_user_data_t dataptr
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/capget