syscall.sh / arm64 / capset

capset

set/get capabilities of thread(s)

sys_capset(cap_user_header_t header, const cap_user_data_t data)
number91 (0x5b)
abicommon
entry pointsys_capset
sinceLinux 3.7
man pagecapset(2)
sourceelixir.bootlin.com

Registers

registervalue
x891, the syscall number
x0cap_user_header_t header
x1const cap_user_data_t data
x0the 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/arm64/capset