syscall.sh / xtensa / capget

capget

set/get capabilities of thread(s)

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

Registers

registervalue
a2158, the syscall number
a6cap_user_header_t header
a3cap_user_data_t dataptr
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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