syscall.sh / s390x / capset

capset

set/get capabilities of thread(s)

sys_capset(cap_user_header_t header, const cap_user_data_t data)
number185 (0xb9)
abicommon
entry pointsys_capset
sinceLinux 4.16
man pagecapset(2)
sourceelixir.bootlin.com

Registers

registervalue
r1185, the syscall number
r2cap_user_header_t header
r3const cap_user_data_t data
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/capset