syscall.sh / alpha / capget

capget

set/get capabilities of thread(s)

sys_capget(cap_user_header_t header, cap_user_data_t dataptr)
number368 (0x170)
abicommon
entry pointsys_capget
sinceLinux 5.0
man pagecapget(2)
sourceelixir.bootlin.com

Registers

registervalue
v0368, the syscall number
a0cap_user_header_t header
a1cap_user_data_t dataptr
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

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