syscall.sh / s390x / capget

capget

set/get capabilities of thread(s)

sys_capget(cap_user_header_t header, cap_user_data_t dataptr)
number184 (0xb8)
abicommon
entry pointsys_capget
sinceLinux 4.16
man pagecapget(2)
sourceelixir.bootlin.com

Registers

registervalue
r1184, the syscall number
r2cap_user_header_t header
r3cap_user_data_t dataptr
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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