syscall.sh / x64 / capget

capget

set/get capabilities of thread(s)

sys_capget(cap_user_header_t header, cap_user_data_t dataptr)
number125 (0x7d)
abicommon
entry pointsys_capget
sinceLinux 3.3
man pagecapget(2)
sourceelixir.bootlin.com

Registers

registervalue
rax125, the syscall number
rdicap_user_header_t header
rsicap_user_data_t dataptr
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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